2008年11月18日星期二

Re: [fw-auth] Zend_Acl and a database

Thanks for the reply. I managed to get something I'm happy with up and
running (backend stuff - still need to work out the UI and management), but
I'll def. check out those resources. At the end of the day I think I am
going to go with something like:

table rights
id
resource name
privilege name

This seems like it would be most flexible. To start, I am just concerned
with ACL for modules/controllers/actions, but the schema above seems to make
most sense if I want to branch out. Regarding inheritance, while it is
nice, I'm going to avoid it all together. Users will only have one role and
each time a new role is created, that role will have deny all and must have
it's rights set individually.

--
View this message in context: http://www.nabble.com/Zend_Acl-and-a-database-tp20555831p20572033.html
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: