How to add role options on permission groups

73 views
Skip to first unread message

Ed de la Paz

unread,
Jul 10, 2018, 3:21:29 AM7/10/18
to mapstor...@googlegroups.com

How do i achieve like this.. (see attached photo ), I just want to separate the admin and user's view in the burger-menu.

Matteo Velludini

unread,
Jul 16, 2018, 9:39:29 AM7/16/18
to mapstor...@googlegroups.com
Hi Ed,

Can you, please, give us more details on what you want to achieve?

Anyway i'll try to give you an answer.
In order to add new groups and and setup permissions you have to be logged in as ADMIN.
Then you can go to the manager page
image.png
then go to the group page
image.png
Here you can add new groups that can be used on the editing the map properties
Once you have added the new group (adding name and description and the members for this group)

You can go back to the home and edit the properties by clicking the wrench icon of the map card
image.png
Here you can select the new group and add it in read or read/write mode by using respectively can view/can edit

Then click on save and try to login with the users belonging to that group to see it al it worked out correctly.

I hope I was helpful. :)
If you have any problem please let us know.


Il giorno mar 10 lug 2018 alle ore 09:21 Ed de la Paz <ejdel...@gmail.com> ha scritto:
How to add role options on permission groups....or modify the permission on can view and edit permissions

--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To post to this group, send email to mapstor...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapstore-users.
For more options, visit https://groups.google.com/d/optout.


--

Regards,

Matteo Velludini

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

==

Matteo Velludini

Software Engineer


GeoSolutions S.A.S.

Via di Montramito 3/A

55054  Massarosa (LU)

Italy

phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39 333 8128928


http://www.geo-solutions.it

http://twitter.com/geosolutions_it


-------------------------------------------------------


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Ed de la Paz

unread,
Jul 16, 2018, 9:51:30 PM7/16/18
to mapstore-users

I want to achieve like this...the interface between the user and admin..

Mauro Bartolomeoli

unread,
Jul 17, 2018, 4:00:41 AM7/17/18
to mapstor...@googlegroups.com
Hi Ed,
in localConfig.json ,where you configure all your plugins, you can use a conditional hideFrom property for the plugins you want to remove in user view, with the following expression:

"hideFrom": "{state('user.role') !== 'ADMIN' ? 'BurgerMenu' : ''}"

For example, to hide the Shapefile plugin use:

{
    "name": "ShapeFile",
    "hideFrom": "{state('user.role') !== 'ADMIN' ? 'BurgerMenu' : ''}"
}

--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To post to this group, send email to mapstor...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapstore-users.
For more options, visit https://groups.google.com/d/optout.


--

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead



GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Ed de la Paz

unread,
Jul 17, 2018, 9:22:40 PM7/17/18
to mapstore-users
Thank you Mauro and Matteo...it is working now
Reply all
Reply to author
Forward
0 new messages