How to create read only ACL for custom table?

evogel
Tera Contributor

Hello!

How to create read only ACL for custom table? This worked in the dev, but not the test instance.

To be specific:

  • A catalog request uses a variable that references this table.
  • The catalog request is open to any SN user that can log in.
  • All values in the table should be accessible with ready-only permission to any user. Just a long list of available systems.
  • Only admins should create or modify.
  • Catalog item variable works in the dev instance, but not our test instance?

Steps taken:

  • Using elevated role security_admin.
  • Recreated the ACL on test.
  • Checked "Create access controls" and used 'user.'
  • Removed "user" role from the ACL with read operation.
  • Added an ACL record to read all table contents, and removed user role requirement from below.

This thread is closely related, but no resolution there either.

Same setup for Dev and Test

8-18-2017 3-44-53 PM.jpg

ACL execution in Dev:

8-18-2017 3-49-56 PM.jpg

ACL execution in Test:

8-18-2017 4-11-51 PM.jpg

The additional ACL record created to just read, without role required.

8-18-2017 4-18-28 PM.jpg

End result in Test. Dev shows all the choices while impersonating the same user (who has no roles assigned).

8-18-2017 4-14-20 PM.jpg

What am I missing here?

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Edward,



Try changing it to None.


find_real_file.png


View solution in original post

9 REPLIES 9

kartik8
Kilo Contributor

Hi Edward,



Please turn on security debugger and check for the ACLs which failing. That would help to figure out which ACL is restricting it.



Thanks!!


Jaspal Singh
Mega Patron
Mega Patron

Hi Edward,



Try changing it to None.


find_real_file.png


Same issue. Test User gets no results from list collector on the catalog item.


evogel
Tera Contributor

Issue is resolved. Much thanks to the posters in this thread.



  • Deleted the ACL records on the table and start fresh by clicking checkbox for Create Access Controls.
  • User role = user
  • Edited the ACL record for read:
    • Admin overrides
    • Active
    • Deleted 'user' role so there are none
  • Clicked ACL execution plan, and there are matching records.


8-28-2017 4-17-29 PM.jpg


8-28-2017 4-22-35 PM.jpg8-28-2017 4-23-21 PM.jpg


Bob17
Tera Contributor

This was helpful.  Thanks for posting!