#
# This file defines who is able to run Virtual Shell commands
#

# The special __ASSISTANT__ user is only allowed to anonymously attach to sessions
__ASSISTANT__ = run:msh
__ASSISTANT__ = run:anon-attach
__ASSISTANT__ = run:rcmd

# The special __CALLBACK__ user is only allowed small command set
__CALLBACK__ = run:msh
__CALLBACK__ = run:initiate
__CALLBACK__ = run:change-callback-ttl
__CALLBACK__ = run:callback-message
__CALLBACK__ = run:callback-attribute

# Alias should be allowed because default-profile alias's some commands and 
# echo stuff
__CALLBACK__|__ASSISTANT__ = run:alias
__CALLBACK__|__ASSISTANT__ = run:echo