Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3037

Add getPath method to Authorizable interface

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Labels:
      None

      Description

      currently the only way to retrieve the path of the item associated with an authorizable is to check if the
      principal obtained through Authorizable#getPrincipal() is an ItemBasedPrincipal.

      having a getPath method would provide a convenient shortcut and would in addition allow
      to determine of there is really an item associated with a authorizable that is accessible for the editing
      session (which is not necessarily the case for ItemBasedPrincipal#getPath

        Attachments

          Activity

            People

            • Assignee:
              angela Angela Schreiber
              Reporter:
              angela Angela Schreiber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: