packages feed

atlassian-connect-descriptor 0.4.4.2 → 0.4.5.0

raw patch · 2 files changed

+4/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Connect.Descriptor: ActAsUser :: ProductScope

Files

atlassian-connect-descriptor.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.4.4.2+version:             0.4.5.0  -- A short (one-line) description of the package. synopsis:            Code that helps you create a valid Atlassian Connect Descriptor.
src/Data/Connect/Scopes.hs view
@@ -23,6 +23,7 @@   | SpaceAdmin -- ^ A Confluence specific scope. Lets your add-on administer a space in Confluence.   | Admin -- ^ Gives your Atlassian Connect add-on administrative rights to the Cloud instance. (But NOT system           -- administrator permission. Happily you cannot request that level of access.)+  | ActAsUser -- ^ Add-ons with this scope can access resources and perform actions in JIRA and Confluence on behalf of users.   deriving (Show, Eq, Generic)  instance ToJSON ProductScope where@@ -32,6 +33,7 @@    toJSON ProjectAdmin = "project_admin"    toJSON SpaceAdmin   = "space_admin"    toJSON Admin        = "admin"+   toJSON ActAsUser    = "act_as_user"  instance FromJSON ProductScope where   parseJSON (String "read")             = return Read@@ -40,4 +42,5 @@   parseJSON (String "project_admin")    = return ProjectAdmin   parseJSON (String "space_admin")      = return SpaceAdmin   parseJSON (String "admin")            = return Admin+  parseJSON (String "act_as_user")      = return ActAsUser   parseJSON _                           = mzero