on 2019 Dec 29 10:53 AM
I need to ensure that a certain user can only view/access/change certain ticket types only where as he don't have authorization and can't view the rest of the document types ?
Request clarification before answering.
Hi,
You can do this with the concept of "Code List Restrictions"(as mentioned by Metthew). here you can define restriction based on the business role for "Ticket Type" code list. This will help you to control access for the Create / Edit Scenario. Pls check here: https://blogs.sap.com/2018/01/17/code-list-restriction-clr-for-sap-hybris-cloud-for-customers/
In order to restrict the user to access the ticket via UI, you can create a new page layout that will be assigned with filtered Queries only for "allowed" ticket type. This page layout then can be assigned to a business role.
Pls check this out here: https://blogs.sap.com/2017/02/06/how-to-use-specific-query-list-in-page-layouts/ (I know it is bit old from HTML5 UI PoV but the concept is still valid for Fiori UI as well )
BR
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Partial solution would be to use Code List Restrictions on Ticket Type.
Example: if you have two different roles ROLE_1 and ROLE_2, and two ticket types ZABC and ZDEF. Set a Code List Restriction to restrict ROLE_1 to Ticket Type ZABC, ROLE_2 restrict to ZDEF.
This will not stop viewing of tickets, but if for example ROLE_1 user tries to edit a Ticket of type ZDEF, they will get an error on save due to the Code List Restriction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moamen,
This might not be possible using the access restriction feature, but you can indirectly restrict access using a query.
Create different queries for each ticket type and assign these queries, one each to different page layout and assign these page layouts to respective business roles.
I hope this helps.
Thanks and regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.