Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30903

API change: extend PermissionDelegate to allow checking whether a user can create within a target

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 5.3
    • None
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Introduce the following:

      canCreateInTarget(User user, Class type)
      

      If a plugin author declares a new entity type called Foo.class and Foo can contain Attachment's, they will be able to implement:

      FooPermissionDelegate.canCreateInTarget(user, Attachment.class)

      To define what user is able to create instances of Attachment.class within instances of Foo.class.

      Attachments

        Issue Links

          Activity

            People

              dave@atlassian.com dave (Inactive)
              dave@atlassian.com dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: