Forums / Install & configuration / Solved: Policy for content copy and browse functions

Solved: Policy for content copy and browse functions

Author Message

Anja Lundin

Monday 02 March 2009 4:16:10 am

Hi!
I must be a bit blind but right now I can't find out how to set the policy for anonymous user not to be able to use the copy and browse functions in the content module. I guess this is possible, but I can't see it anywhere.

Example:

http://siteurl/content/copy/1

http://siteurl/content/browse/1

I'm using eZ Publish 3.9.2.

Thanks in advance!

/Anja Lundin, Novitell AB Sweden

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Monday 02 March 2009 5:41:53 am

Found it... in site.ini! I was blind... ;-)

[SiteAccessRules]
Rules[]
Rules[]=access;disable
Rules[]=module;content/copy
Rules[]=module;content/browse

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Andreas Kaiser

Thursday 05 March 2009 4:49:42 am

Strange that this isn't default, because I think it could be a big issue to let anonymous users to access to that functions...

One question, your config prevents only anonymous users or also registered users to use that functions?

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Anja Lundin

Thursday 05 March 2009 5:32:09 am

Hi!
I'm not sure of that. I don't use this on my admin siteaccess - I only put it in public sites site.ini.append where there is only the anonymous user.

Good question btw, and how does it work with the ezwebin?

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se