Command ACL multiple scopes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Command ACL multiple scopes

Alex Soto
Is it possible to specify ACL for Karaf commands that have more than one scope?
For example, the command 

admin:database:truncate

Scope here is two levels (admin:database) but it is not clear how the ACL file needs to be named.


Best regards,
Alex soto




Reply | Threaded
Open this post in threaded view
|

Re: Command ACL multiple scopes

jbonofre
Hi,

That’s not fully correct: the scope is admin and the command is database:truncate ;)

ACL applies per scope.

Regards
JB

Le 12 mars 2020 à 20:19, Alex Soto <[hidden email]> a écrit :

Is it possible to specify ACL for Karaf commands that have more than one scope?
For example, the command 

admin:database:truncate

Scope here is two levels (admin:database) but it is not clear how the ACL file needs to be named.


Best regards,
Alex soto





Reply | Threaded
Open this post in threaded view
|

Re: Command ACL multiple scopes

Alex Soto
Ok,  :) well,  how do I write the  ACL inside the file?

database:truncate = admin ?


Best regards,
Alex soto




On Mar 12, 2020, at 3:51 PM, Jean-Baptiste Onofre <[hidden email]> wrote:

Hi,

That’s not fully correct: the scope is admin and the command is database:truncate ;)

ACL applies per scope.

Regards
JB

Le 12 mars 2020 à 20:19, Alex Soto <[hidden email]> a écrit :

Is it possible to specify ACL for Karaf commands that have more than one scope?
For example, the command 

admin:database:truncate

Scope here is two levels (admin:database) but it is not clear how the ACL file needs to be named.


Best regards,
Alex soto






Reply | Threaded
Open this post in threaded view
|

Re: Command ACL multiple scopes

jbonofre
Yeah, it should work.

Regards
JB

Le 12 mars 2020 à 20:57, Alex Soto <[hidden email]> a écrit :

Ok,  :) well,  how do I write the  ACL inside the file?

database:truncate = admin ?


Best regards,
Alex soto




On Mar 12, 2020, at 3:51 PM, Jean-Baptiste Onofre <[hidden email]> wrote:

Hi,

That’s not fully correct: the scope is admin and the command is database:truncate ;)

ACL applies per scope.

Regards
JB

Le 12 mars 2020 à 20:19, Alex Soto <[hidden email]> a écrit :

Is it possible to specify ACL for Karaf commands that have more than one scope?
For example, the command 

admin:database:truncate

Scope here is two levels (admin:database) but it is not clear how the ACL file needs to be named.


Best regards,
Alex soto