logo       

Re: Acl object, print visual structure: msg#00033

php.zend.framework.auth

Subject: Re: Acl object, print visual structure

Hi Xavier,

You might also check out the following JIRA issues, which seem to be
very related:

add method to get parent resource and methods get all parents of roles
or resources
http://framework.zend.com/issues/browse/ZF-1356

Zend_Acl : debug for inheritance of rules : get source from used rule
http://framework.zend.com/issues/browse/ZF-984

Finally, there is the list of Zend_Acl issues, which you can also peruse
(sorry for the long URL):

http://framework.zend.com/issues/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10000&sorter/order=DESC&sorter/field=priority&resolution=-1&component=10070

You may comment on these issues as you seem appropriate, and if you have
an issue outside the scope of these, please feel free to create a new issue.

I completely agree that ways to introspect the ACL more completely and
conveniently should be available.

Thank you for your support!

Best regards,
Darby

Xavier Vidal Piera wrote:
> yes, i know this one, but i've wanted a cleaner result, without the
> 'object #' and unneeded stuff.
>
> i'll try to write one method, to get a quick and clean view about resources.
>
> thanks anyway
>
> On 10/15/07, *Shekar C Reddy* <zendfw-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
> <mailto:zendfw-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>> wrote:
>
> echo '<pre>';
> print_r( $acl );
> echo '</pre><br />';
>
>
>
> On 10/15/07, *Xavier Vidal Piera*
> <xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
> <mailto:xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>> wrote:
>
> Hi
>
> Is there any method to dump the contents of an ACL object, but
> in a more 'graphical' mode? I mean, like a filesystem tree.
>
> thanks
>
> --
> Xavier Vidal Piera
> Enginyer Tècnic Informàtic de Gestió
> Tècnic Especialista Informàtic d'equips
> xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
> <mailto:xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
> xvidal-RUCatzxVcM2s/xhG5NMdXA@xxxxxxxxxxxxxxxx
> <mailto:xvidal-RUCatzxVcM2s/xhG5NMdXA@xxxxxxxxxxxxxxxx>
> http://web.xaviervidal.net <http://web.xaviervidal.net/>
> 610.68.41.78
>
>
>
>
>
> --
> Xavier Vidal Piera
> Enginyer Tècnic Informàtic de Gestió
> Tècnic Especialista Informàtic d'equips
> xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
> <mailto:xavividal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
> xvidal-RUCatzxVcM2s/xhG5NMdXA@xxxxxxxxxxxxxxxx
> <mailto:xvidal-RUCatzxVcM2s/xhG5NMdXA@xxxxxxxxxxxxxxxx>
> http://web.xaviervidal.net
> 610.68.41.78



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise