[
https://issues.apache.org/jira/browse/KARAF-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425835#comment-15425835
]
ASF subversion and git services commented on KARAF-4636:
--------------------------------------------------------
Commit b90072722b45985e73a89ee85adce9c3a3011e95 in karaf's branch
refs/heads/karaf-4.0.x from [~ffang]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=b900727 ]
[KARAF-4636]karaf.secured.command.compulsory.roles does not work
> karaf.secured.command.compulsory.roles does not work
> ----------------------------------------------------
>
> Key: KARAF-4636
> URL: https://issues.apache.org/jira/browse/KARAF-4636
> Project: Karaf
> Issue Type: Bug
> Components: karaf-security
> Affects Versions: 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5
> Reporter: Kevin O'Toole
> Assignee: Freeman Fang
> Priority: Critical
> Fix For: 4.1.0, 4.0.6
>
>
> The karaf.secured.command.compulsory.roles property in system.properties does
> not work in Karaf [4.0.1, 4.0.5].
> It does work in Karaf [3.0.5, 3.0.7].
> Easy way to test this is modify users.properties with the following:
> {noformat}
> viewer = karaf,_g_:viewergroup
> _g_\:viewergroup = group,viewer
> {noformat}
> And then add {noformat}
> karaf.secured.command.compulsory.roles=admin
> {noformat}
> to system.properties.
> If you log in as viewer, Karaf will allow the execution of commands that do
> not have ACL defined.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)