Hi Michael.

I'd K.I.S for module + controller support and simply name each resource in the '<module>_<controller>' style. That way it will be easier to re-assemble the resource name when it comes time for performing the checks.

For a default module, 'news' becomes 'default_news', 'index' becomes 'default_index', etc...


In your example you associate resources with controllers and privileges with actions. What approach would you suggest for adding modular based access control?

On 4/10/07, Simon Mundy <[EMAIL PROTECTED]> wrote:
I'll double-check but I'm sure that the DB row will serialise/ unserialise without any problems - you should be fine with the default storage.

Cheers

Thank you!

But where the question arise:
authenticate($adapter) then saves the identity in the storage and default storage is session-based storage. This storage accepts only strings, as I understand. So before the example below can work I should change the storage too?

Sincerely,

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com





--
Michael DePetrillo
[EMAIL PROTECTED]
Office:  (858) 926-5761
Mobile: (858) 761-1605
AIM: klassicd

www.officeguild.com
www.unitedautolenders.com
www.michaeldepetrillo.com

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com


Reply via email to