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 Mon, 27 Nov 2017 09:42:01 GMT

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

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

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

[KARAF-5506]ensure we also check the ACL for alias cmds before auto-completer


> 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