Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Rei Mat
Change default permission
6 maggio 2013 2.47
Risposta

Rei Mat

Punteggio: Junior Member

Messaggi: 44

Data di Iscrizione: 29 settembre 2010

Messaggi recenti

Hello,

After adding a blog entry (or forum thraed), the new added entry has some default permissions automatically added (please see screenshot blog-1.png and blog-2.png).
I would like to change these default permissions set on entry level. How can I change them (or remove them)?
So that I can manage the permission only from the control panel under role...

Best regards,
Matthieu
Allegato

Allegato

Allegati: blog-1.png (27,6k), blog-2.png (37,6k)
Kenneth Chang
RE: Change default permission
6 maggio 2013 13.14
Risposta

Kenneth Chang

LIFERAY STAFF

Punteggio: Junior Member

Messaggi: 25

Data di Iscrizione: 9 maggio 2011

Messaggi recenti

You'll find permission defaults in .xml files located in portal-impl/src/resource-actions/. So for blogs you'll find it at portal-impl/src/resource-actions/blogs.xml. You'll have to restart the server after making changes.
Rei Mat
RE: Change default permission
7 maggio 2013 1.51
Risposta

Rei Mat

Punteggio: Junior Member

Messaggi: 44

Data di Iscrizione: 29 settembre 2010

Messaggi recenti

Hi,

Thanks you for your response.
Unfortunately, I cannot find the file under the liferay order liferay-portal-6.1.1-ce-ga2.

I can only find the file in the portal source order... should I copy the file from the source, update it and copy it somewhere on my server (under WEB-INF, or within a hook?)?

Best regards,
Matthieu
Kenneth Chang
RE: Change default permission
7 maggio 2013 9.35
Risposta

Kenneth Chang

LIFERAY STAFF

Punteggio: Junior Member

Messaggi: 25

Data di Iscrizione: 9 maggio 2011

Messaggi recenti

Ideally, you want to deploy your changes from source. But, if you want to modify it directly you can find it in ROOT/WEB-INF/lib/portal-impl.jar