Closed (fixed)
Project:
Domain Admin
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Jul 2010 at 11:34 UTC
Updated:
9 Dec 2011 at 00:01 UTC
As it stands the module contains code for the Book Page Access module to allow users delegated using that module access rights to domain pages. The code is conditional on a patch i had posted to the BPA issue queue a couple of months ago.
As the patch shows no signs of getting committed, i plan to remove all references to that module within that code and turn it into a generic hook to allow external modules to utilise Domain Admin features
while we're at it, we can also put out an API.php file to illustrate domain_admin hooks
Comments
Comment #1
ergonlogicSounds great, nirbhasa!
Comment #2
nirbhasa commentedOk, so the latest dev has a first attempt at this - all references to the external module are removed and now delegation within the domain is handled by a generic hook_domainadmin_delegate. Needs a good bit more testing, but we're getting there :)
Comment #3
nirbhasa commentedOk, I've been looking at this a bit more, and I made a few changes which will serve to make this whole delegation thing less obtrusive for those who don't want it, and also make the whole permission handling a bit more elegant:
The above changes sound more radical than they are, but before I make a commit, Im just wondering does the above constitute an API change, and what the situation is then? Personally I'm inclined to commit it to the 1.x branch as before, and release a 1.0 beta version. (we could still have the 0.5 as recommended for the moment) But I'm happy to listen to more experienced and wiser voices :)
Comment #4
nirbhasa commentedhook is now in d6 and d7 dev
Comment #5
nirbhasa commented