Hide Submit button on Contracts page based on role as condition
Content
Hide Submit button on Contracts page based on condition
Customer wants to disable submit and submit for approvals in Contract management page. They tried doing this through roles and privileges but create contract is also giving the privilege to submit the contract.
Hence customer resorted to page customization based on the roles. When the submit is disabled for one particular role, it is enabled in other places like Time entry,My Projects page and Reports and analytics page.
Below is the condition given.
#{!securityContext.userInRole['ARC_PJF_PROJECT_MANAGEMENT_DUTY_ABSTRACT]}
So, users who doesnot have the ARC_PJF_PROJECT_MANAGEMENT_DUTY_ABSTRACT role are able to see submit button at various places and that doesnot have any action attached to it (just seen as a dummy button) as mentioned above which is not expected