|
From: <Tho...@be...> - 2001-12-11 15:48:19
|
Hi there. Is it possible to set the other forms secure like the search_form as = done below ? Greets. Thomas -----Urspr=FCngliche Nachricht----- Von: Chris Winters [mailto:ch...@cw...] Gesendet: Freitag, 7. Dezember 2001 14:20 An: Tho...@be... Cc: ope...@li... Betreff: Re: [Openinteract-help] Security in CommonHandler * Tho...@be... (Tho...@be...) [011207 07:55]: > Is it possible to make the search_form page from the Classified > package secure ? If I edit the security of the object and the > handler nothing happens. > > Everyone can see the search_form :-( Sure. In OpenInteract/Handler/Classified.pm you currently have: %OpenInteract::Handler::Classified::security =3D ( DEFAULT_SECURITY_KEY() =3D> SEC_LEVEL_NONE, create =3D> SEC_LEVEL_READ, edit =3D> SEC_LEVEL_READ, remove =3D> SEC_LEVEL_WRITE, ); Set it to: %OpenInteract::Handler::Classified::security =3D ( search_form =3D> SEC_LEVEL_READ, DEFAULT_SECURITY_KEY() =3D> SEC_LEVEL_NONE, create =3D> SEC_LEVEL_READ, edit =3D> SEC_LEVEL_READ, remove =3D> SEC_LEVEL_WRITE, ); OR, if you want to ensure that people have access to execute any operation: %OpenInteract::Handler::Classified::security =3D ( DEFAULT_SECURITY_KEY() =3D> SEC_LEVEL_READ, remove =3D> SEC_LEVEL_WRITE, ); Re-deploy this and restart the server, and you should be good. Chris --=20 Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. _______________________________________________ openinteract-help mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openinteract-help |