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 [email protected] or file a JIRA ticket
with INFRA.
---