You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2016/12/13 13:16:04 UTC

[GitHub] incubator-ponymail issue #293: rights checking should be localised

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/293

    rights checking should be localised

    rights checking currently does not allow for sites to have local rules for matching rights with mailing lists.
    At present there are 3 levels of access:
    '*' - every list
    'a.b.c.d' - a specific list (but would also allow '*.a.b.c.d')
    'b.c.d' - '*.b.c.d' (would also allow 'b.c.d')
    
    It's not possible to grant rights for '*.*.c.d' using the current code.
    
    If the rights checking were moved to the aaa.lua module (see #292), then local sites could provide their own matching algorithms. 
    
    Potentially these could even use additional attributes of the document. However this would require other code changes as it's currently assumed that a user has access to all or none of the private documents on a particular list. This is done for efficiency reasons. If a local installation wants to implement per-document auth this could be flagged via a boolean function. This would allow the main code to skip individual doc checks where relevant if the auth is entirely list-based.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #293: rights checking should be localised

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/293


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---