I have more than 20 member groups in umbraco project.
When I'm trying to update document using public access with role based protection it saves data in db fine. (It exists in umbracoAccessRule table and all roles inserted/updated correctly)
But when I'm trying to get document roles after that it shows me incorrect roles which i have not selected in backoffice, even in code.
I assume that it uses "GetEntryForContent" from PublicAccessService class, which retrieves document roles from cache.
Is there any way to refresh role based content caches directly?
Or what can be a reason that data inserted/updated in caches is incorrect?
Note: I've tried to remove App_Data\TEMP\ExamineIndexes folder and it helped me for a while. After some time it is still showing incorrect role/roles.
Role based protection shows incorrect data
Hi,
I have more than 20 member groups in umbraco project. When I'm trying to update document using public access with role based protection it saves data in db fine. (It exists in umbracoAccessRule table and all roles inserted/updated correctly) But when I'm trying to get document roles after that it shows me incorrect roles which i have not selected in backoffice, even in code. I assume that it uses "GetEntryForContent" from PublicAccessService class, which retrieves document roles from cache. Is there any way to refresh role based content caches directly? Or what can be a reason that data inserted/updated in caches is incorrect?
Note: I've tried to remove App_Data\TEMP\ExamineIndexes folder and it helped me for a while. After some time it is still showing incorrect role/roles.
you forgot to mention the umbraco version you are using? If I recall correctly there have been some fixes applied to this within the last year or so.
Thanks for your response Shannon. Umbraco version is 7.3.7. Tbh i did not find anything related to this. Maybe i missed something
https://our.umbraco.org/contribute/releases/compare?from=7.3.7&to=7.6.3
There's a ton of things relating to members and even relating directly to indexes and protected content.
You are on a very old version, it is always recommended to use the latest since there's several (100+) bugs fixed
is working on a reply...