Hi,
This may be an issue, or perhaps some glitch I somehow created. This is just in case anyone strikes a similar situation ...
Situation:
Basically, my previously-working ACL (read/update/delete) permissions didn't work in a new project. (They were being ignored somehow and my dataSource was not returning items for which the current user had read permissions).
Method:
- I copied an entire project with its dataType structures (via Platform Apps list, then gear wheel, and the duplicate data option).
- My project code sets ACL permissions for user access to a data Type. I confirmed the code was working and that ACL values were being via Platform Admin / backend services.
- However, as indicated above, the ACL seemed to be being ignored and my dataSource was not returning items for which the current user had read permissions.
Resolution?
I tried various things to understand why this was happening, but couldn't spot why.
Eventually I tried adding an ACL permission to a data item manually (via Platform Admin/backend). After I'd done this, all of the ACLs started working.
Action:
(None suggested. Just an FYI to others. I'll post further details if I manage to replicate it when I've got some time).
Regards
-Paul