[jira] Commented: (OFBIZ-615) Re-Factor WorkEffort permissions to follow new patterns

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-615) Re-Factor WorkEffort permissions to follow new patterns

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464656 ]

Anil K Patel commented on OFBIZ-615:
------------------------------------

I am little confused for case of Update,

>To update a workeffort, or access other workeffort functions (party assignment, add roles, etc):
>- WORKEFFORTMGR_UPDATE or WORKEFFORT_ROLE_UPDATE permission
>- CAL_OWNER role member or CAL_DELEGATE role member
>or
>- WORKEFFORTMGR_UPDATE or WORKEFFORT_ROLE_UPDATE
>- CAL_OWNER or CAL_DELEGATE of any Parent workeffort (see below for definition of parent)

Do you mean in the permission Check service, we'll check
if ACTION == "UPDATE" then
    check if user is in Role "CAL_OWNER" or "CAL_DELEGATE"

This tells me we'll have to do little bit of hard coding in workEffortRoleGenericPermission



> Re-Factor WorkEffort permissions to follow new patterns
> -------------------------------------------------------
>
>                 Key: OFBIZ-615
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-615
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Sub-task
>          Components: workeffort
>            Reporter: Andrew Zeneski
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira