Yes, maybe, I am a newbie in web app.

My suggestion is because in this moment i have a web app that uses t3.

This app has groups and each Group have diferent reports. But, if a
coordinator want to see reports of organizator, they can't because
they don't have access, and I show the message for them. In this
moment the web app goes well.

I use private procedures, menu->false and public-false for some wiki/
pages (massimo thank's for help), etc.

However, I think is more easy, if I can control the menu with some
code in t3.

But in this moment, I believe, I need to use only web2py or t2.

Thank's in advance for your attention. I belive that your work is
great.

On 8 ene, 15:30, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I think this mixing apples with oranges.
>
> procedures should not be exposed in menus because they do not have a
> view. They are not intended to return pages.
>
> Currently there is no mechinsm to enforce access control to the menu
> items, only to the content of those pages.
>
> I will think about this it may not be too difficult to add this
> mechanism.
>
> Massimo
>
> On Jan 8, 3:07 pm, drayco <antrod...@gmail.com> wrote:
>
> > Sorry, i want to say
>
> > And in this answer, I would want to suggest something extensions for
> > "view helpers -> menu"
>
> > On Jan 8, 2:33 pm, drayco <antrod...@gmail.com> wrote:
>
> > > Hi, thanks. I understand.
>
> > > However, I think, i don't explain my idea well.
>
> > > I would want to display or not some pages in menu with code. I
> > > thought, I should do this with this code o something like that
>
> > > {{=self.menu(menu)}}
>
> > > {{=t2.menu(response.menu)}}
>
> > > After, I thought, I should do this more easy with "Membership
> > > Controls" and "Access Controls" but I belive that is only for control
> > > access to records.
>
> > > And in this answer, I would want to suggest something pattern for menu
> > > control
>
> > > My apologies, if this is a bad idea.
>
> > > On Jan 7, 8:59 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > You cannot use access control for menu items inT3.
> > > > If a page has "menu" checked and "public" check is always appears in
> > > > menus.
> > > > If a page has "menu" checked and "public" uncheck it will appear in
> > > > menus only to authenticated users
> > > > If a page has "menu" unchecked then it never appears in menus.
>
> > > > You can find example of access control for other functionalities 
> > > > inhttp://mdp.cti.depaul.edu/examples/static/t2.pdf
>
> > > > Massimo
>
> > > > On Jan 7, 7:54 pm, drayco <antrod...@gmail.com> wrote:
>
> > > > > Hi, can you give a simple example about group memberships and group
> > > > > based access control int3?
>
> > > > > Or how can i show or not some menu/submenu int3?
>
> > > > > Can i do this whithout group memberships?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to