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

Add getPath method to Authorizable interface

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: