I am trying to apply ACL on dictionary table in which user with particular role should see attribute field as readonly and all the fields should be write only [Please see description ]

Anil Jha
Kilo Contributor

User with particular role should be able to write all the fields except attribute field on dictionary table attribute field should be readonly 

find_real_file.png

ACL which I have written :

Read :Table.none

Write:Table.none

Write:Table.*

Write: Table.field : answer=false;

 

Output I am getting 

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

Please create one more ACL for read Operation like below:

find_real_file.png

Note: It should be having the new role as per your configuration.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

8 REPLIES 8

Hey Anil,

 

I created a custom role "test_acl" on my PDI and did the same :

 

find_real_file.png

 

And, it worked for me:

 

find_real_file.png

 

Please check if there is any other ACL conflicting with your new one.

 

Regards,

Shreya

Abhijit4
Mega Sage

Hi,

Please confirm if you did like below.

Read :Table.none // provide access to your role

Write:Table.none // provide access to your role

Write:Table.* //provide access to your role

Write: Table.field : answer=false; // do not add any role.

If you have implemented above and still it is not working then please share screenshot of the output again and ACL screenshot as well for reference so that everyone would be able to help you further.

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Abhijit

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

My Output 

find_real_file.png

AACL which I have applied

find_real_file.png

 

Hi,

Please create one more ACL for read Operation like below:

find_real_file.png

Note: It should be having the new role as per your configuration.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande