Add authenticate and evaluate actions

Make constants for authenticate / evaluate actions, as proposed in
Anchor audit patch.

Change-Id: Ib9fb6f5d4ab92904097c8c2d77a8b70db0a77c36
This commit is contained in:
Stanisław Pitucha 2015-10-16 09:26:19 +11:00
parent 41f19fb295
commit e23a26f101

View File

@ -23,6 +23,9 @@ ACTION_CREATE = 'create'
ACTION_READ = 'read'
ACTION_UPDATE = 'update'
ACTION_DELETE = 'delete'
# Other CADF actions
ACTION_AUTHENTICATE = 'authenticate'
ACTION_EVALUATE = 'evaluate'
# OpenStack specific, Profile or change CADF spec. to add this action
ACTION_LIST = 'read/list'
@ -45,12 +48,12 @@ ACTION_TAXONOMY = frozenset([
'disable',
'send',
'receive',
'authenticate',
ACTION_AUTHENTICATE,
'authenticate/login',
'revoke',
'renew',
'restore',
'evaluate',
ACTION_EVALUATE,
'allow',
'deny',
'notify',