Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
7644
|
Version |
tigase-server-8.0.0
|
Spent time |
12h 30m
|
Issue Votes (0)
Watchers (0)
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
7644
|
Version |
tigase-server-8.0.0
|
Spent time |
12h 30m
|
Currently we have both ACL to control who should be able to execute scripts. And on top of that we perform additional validation within the scripts (mostly due to facilitate management of own domains by domain owners).
It would be best to limit amount of checking within the scripts. We could introduce additional ACL permission (e.g.
DOMAIN_OWNER
) which would allow execution of ad-hocs by domain owners. To maintain current limitations (i.e. domain owners my execute scripts, but they are limited to their own domains) we should expose configured ACL setting to the script and in case of scripts that differentiate functionality based on ownership of the domain determine that based on the configured ACL, i.e. if command is configured withDOMAIN_OWNER
then it would work like now - owner would only be able to managed own domains and see user statistics from own domains, however if someone would configure ACL asLOCAL
then all local users would be able to execute the script.Basic idea is to allow configuring this with ACL configuration.
Please update documentation afterwards.