JSPWiki
  1. JSPWiki
  2. JSPWIKI-418

ACL stored in metadata with a proper editor

    Details

      Description

      Hopefully we can get a proper ACL editor for 3.0 - and also store the ACLs in page metadata.

      Initial proposal: We could store the ACLs under a multi-valued String attribute "wiki:acl", with each Value having an string "ALLOW <id> <permission>". Questions: is this too slow to parse? I would rather stay away from serialization, it may take it difficult to access the repo later on with alternative tools.

        Activity

        Hide
        Harry Metske added a comment -

        Propose to close, it is assuming a JCR based implementation, which we have dropped now.

        Show
        Harry Metske added a comment - Propose to close, it is assuming a JCR based implementation, which we have dropped now.
        Hide
        Janne Jalkanen added a comment -

        Well, yes, but the JCR repo will cache the property as an array, which means that every time a new WikiPage is instantiated, it needs to be reparsed.

        Otherwise, we'll need to build our own cache on top of everything, if speed is not enough.

        Show
        Janne Jalkanen added a comment - Well, yes, but the JCR repo will cache the property as an array, which means that every time a new WikiPage is instantiated, it needs to be reparsed. Otherwise, we'll need to build our own cache on top of everything, if speed is not enough.
        Hide
        Andrew Jaquith added a comment -

        I don't know about the speed, but I don't think we should worry about that too much at this point. Isn't that what caches are for?

        Show
        Andrew Jaquith added a comment - I don't know about the speed, but I don't think we should worry about that too much at this point. Isn't that what caches are for?

          People

          • Assignee:
            Unassigned
            Reporter:
            Janne Jalkanen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development