Allow per-entity permissions for custom content types in the site search

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • None
    • Component/s: None

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

      It is possible for custom content types to appear in the dosearchsite.action results. Unfortunately it does not seem to be possible to control per-entity permissions in these results. This limits the usefulness of this feature.

      I have tried adding permissions via:

      contentEntity.addPermission(ContentPermission.createUserPermission(ContentPermission.VIEW_PERMISSION, user));
      

      but they seem to be ignores. Implementing the

      public boolean canView(User user, Object target)
      

      method in the permission delegate also does not work.

              Assignee:
              Unassigned
              Reporter:
              Matthew Erickson
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: