[Grok-dev] Protecting views to allow anonymous access only
    Andreas Kaiser 
    kaiser at xo7.de
       
    Thu Jul 24 06:21:54 EDT 2008
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello cavemen!
I'm in the progress of developing my first Grok application, so please
be patient with me and my maybe stupid questions.
Right now I'm stuck with this…
I need to protect a view, so that it can be accessed *only* by
anonymous users.
I know:
~  - how to protect a view with e.g.
~    grok.require('my.CustomPermission')
~  - how to create a custom role
~  - how to gather permissions in this role
I don't know:
~  - how to grant my role to the anonymous user
Any pointers would be appreciated.
TIA,
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIiFfC/IUfrcGW134RAo2pAKCfLvLhH8vvYV6SBDbHa9gzwvyj/gCgqsvs
FNzaYmPTQIDa5WVx3IPcKjY=
=8ob1
-----END PGP SIGNATURE-----
    
    
More information about the Grok-dev
mailing list