karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5506) ensure we also check the ACL for alias cmds before auto-completer
Date Wed, 29 Nov 2017 11:45:03 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270641#comment-16270641
] 

ASF subversion and git services commented on KARAF-5506:
--------------------------------------------------------

Commit 8ee2ebb23e6c2ff55ea109a1e2b8b57dc738e178 in karaf's branch refs/heads/master from [~ffang]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=8ee2ebb ]

[KARAF-5506]use ThreadLocal for the visible service cache so that different shell for different
users/roles won't interfere each other


> ensure we also check the ACL for alias cmds before auto-completer
> -----------------------------------------------------------------
>
>                 Key: KARAF-5506
>                 URL: https://issues.apache.org/jira/browse/KARAF-5506
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> for example if we have 
> {code}
> features:install = { feature:install $args } ;
> {code}
> in etc/shell.init.script, and we have a user with a role which can't use  "feature:install"
to ssh
> but currently we still can see command like "features:install " with auto-complete, though
can't actually run it, we'd better check the visible in alias auto-completer also, to keep
the behavior same as the original command: if you can't run it, you shouldn't see it



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message