Can User Taxonomy have Capabilities?
-
I’m trying to figure a way to assign and remove capabilities to blog admins in a multisite network. I do not want to change the role of the blog admin, merely add and remove capabilities on a per-blog basis.
My searching has led me to believe that because there is only one role per site per user, I cannot add or remove capabilities from one site admin, without affecting all other site admins.
Whilst I were searching for an answer to this conundrum, I stumbled upon this post by Justin Tadlock.
Looking at that code through my non-coder eyes, it looked to me like it might be possible to programmatically assign a user (the admin) to a taxonomy, and add to or remove from their capabilities.
So, the question I does have, is … (drum roll here) … is there a simple way to programmatically add or remove capabilities from individual site admins, without affecting the other site admins in a multisite network? And, is the Taxonomy route the way to go, or can it be done in some other way?
Be gentle please. I aren’t no high-powered coder like you folks, I just need to know what to ask of one when I get around to setting my requirements and specifications.
Thanks bunches,
Kirk
- The topic ‘Can User Taxonomy have Capabilities?’ is closed to new replies.