Using 2.04pl-2
I’ve created a couple of extra contexts to use with subdomains. Actually, to be strictly correct, I duplicated them. I have edited the context settings fine.
When I try to apply access controls, I get sent into a never-ending save loop. For example, I tried to apply the same access control as for Administrator in web. Then when I clear the cache I see this message:
Principal 1 does not have permission to load object of class modContext with primary key:
and then it disappears from the Resource tree. The permission has been saved (I can see it in the User Groups permissions), but I can no longer see the context when I try, for example, to give the anonymous user Load access to that context.
Unfortunately, I then did two things - so not sure which worked:
1. I manually created a record in modx_access_context for the anonymous user with load permission
2. I flushed all sessions.
And then the new context(s) re-appear in the resource tree.
Is this the expected behaviour, or is it a bug (not being able to see it while logged in as administrator seems wrong....)?