OK, I admit it. I still find it counterintuitive.
I have created the following groups, each with access to a single feature:
Glinks admin -> glinks.edit
Glinks moderator -> glinks.moderate
Glinks user -> glinks.view
In the install of my plugin, I also make Glinks admin a member of Glinks moderator and Glinks user, and I make Glinks moderator a member of Glinks user.
So:
an admin can edit anything and moderate links and view the links;
a moderator can moderate links and view the links;
a user can just view links.
It installs and uninstalls perfectly, and when I check the groups everything is assigned perfectly. Happy.
Now, as your average site admin, I now want to make all logged-in users able to view the links in the plugin. So, I open the group "logged in users", but it is core, so I can do nothing. So, I go to the "glinks user" group, and I see that it has the rights "glinks.view". I then check the "Logged in users" group as well, and save.
Now, I would imagine that would make all members of the "Logged in users" group able to view the glinks plugin, as they should now have the glinks.view access right. But no. The Glink user group now has whatever rights I assigned to the "Logged in users" group.
To me, it should be the other way round. But OK, I'll go along with the model. But, I can see no way (without coding it) to assign the rights "glinks.view" to the "logged in users" group.
Isn't this a little odd?
Cheers,
Euan.
-- Heather Engineering
-- No job too small