Set API methods getColumns and getColumn accessible to project viewers
This commit is contained in:
@@ -7,6 +7,7 @@ New features:
|
|||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
* Set API methods "getColumns" and "getColumn" accessible to project viewers
|
||||||
* Simplify date and time configuration to avoid potential validation issues
|
* Simplify date and time configuration to avoid potential validation issues
|
||||||
|
|
||||||
Regressions:
|
Regressions:
|
||||||
|
|||||||
@@ -198,7 +198,8 @@ class AuthenticationProvider implements ServiceProviderInterface
|
|||||||
|
|
||||||
$acl->add('ActionProcedure', array('removeAction', 'getActions', 'createAction'), Role::PROJECT_MANAGER);
|
$acl->add('ActionProcedure', array('removeAction', 'getActions', 'createAction'), Role::PROJECT_MANAGER);
|
||||||
$acl->add('CategoryProcedure', '*', Role::PROJECT_MANAGER);
|
$acl->add('CategoryProcedure', '*', Role::PROJECT_MANAGER);
|
||||||
$acl->add('ColumnProcedure', '*', Role::PROJECT_MANAGER);
|
$acl->add('ColumnProcedure', array('updateColumn', 'addColumn', 'removeColumn', 'changeColumnPosition'), Role::PROJECT_MANAGER);
|
||||||
|
$acl->add('ColumnProcedure', array('getColumns', 'getColumn'), Role::PROJECT_VIEWER);
|
||||||
$acl->add('CommentProcedure', array('removeComment', 'createComment', 'updateComment'), Role::PROJECT_MEMBER);
|
$acl->add('CommentProcedure', array('removeComment', 'createComment', 'updateComment'), Role::PROJECT_MEMBER);
|
||||||
$acl->add('ProjectPermissionProcedure', '*', Role::PROJECT_MANAGER);
|
$acl->add('ProjectPermissionProcedure', '*', Role::PROJECT_MANAGER);
|
||||||
$acl->add('ProjectProcedure', array('updateProject', 'removeProject', 'enableProject', 'disableProject', 'enableProjectPublicAccess', 'disableProjectPublicAccess'), Role::PROJECT_MANAGER);
|
$acl->add('ProjectProcedure', array('updateProject', 'removeProject', 'enableProject', 'disableProject', 'enableProjectPublicAccess', 'disableProjectPublicAccess'), Role::PROJECT_MANAGER);
|
||||||
|
|||||||
Reference in New Issue
Block a user