Matthew Williams wrote:
But how do I take a new permission that I've created and apply it to my
custom admin tab and custom Rule and Type?  The permission itself doesn't
seem to be anything more than a name.  How does the permission get passed
to the button on the admin page for things like Approve, Send to Draft,
Delete, etc.?  I won't be accessing anything for the tree, this will all
be done as if the object were of type dmNews.

From a user perspective take a look at the, "Creating a user, policy groups, security groups, permissions":
http://farcry.daemon.com.au/go/documentation/users/daily-use-guides


From a development perspective I don't have anything easy to distribute. To put you on the right track...

Tabs and subtabs in sustomadmin.xml can have a permission set as an attribute of the tab element to easily enforce visibilty of tabs based on role.

Generic Admin tag allows you to pass in a permission set. Typically this is a set of permissions with a specific prefix. Look at News permissions as an example. Generic admin should respond to the presence of a specific set of permissions for add/edit/delete.

Hope that helps a little,

-- geoff
http://www.daemon.com.au/

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to