Foren

How can we hide server Block in Control Panel

Bharani Ravi Kanth, geändert vor 12 Jahren.

How can we hide server Block in Control Panel

Junior Member Beiträge: 63 Beitrittsdatum: 20.01.12 Neueste Beiträge
Hello Guys,

Can you please help me in hiding the server block in the control block.

Thank you
bharani
thumbnail
Ram Manusani, geändert vor 12 Jahren.

RE: How can we hide server Block in Control Panel

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
You can write a hook and hide the panel-manage-server code in control_panel.jsp file under html/portal/layout/view
thumbnail
Olaf Kock, geändert vor 12 Jahren.

RE: How can we hide server Block in Control Panel

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
If you provide the "Administrator" role to users, they get the administrative permissions to access this area. You can create another role that contains just the administrative permissions you want to have.

Also, to make it easier, you can also just create a second instance - all but the first instances are missing the server administration area as this kind of administration (plugins-installation etc) will be done through the original, first, instance.
Anabelle Trinidad, geändert vor 11 Jahren.

RE: How can we hide server Block in Control Panel

Junior Member Beiträge: 27 Beitrittsdatum: 01.05.12 Neueste Beiträge
Hi..
I created a new role which I named plugin installation. The permission was just set to plugin installation and the scope limits only to the organization of my user.
Correct me if I'm wrong..but my understanding to this is that if I assigned this role to my user (ROLE:USER,POWER USER, PLUGIN INSTALLATION,USER) he can access the plugin installation tool of server section of control panel.
Am I right?