FeatureEditor - Restrict editing on attributes only

87 views
Skip to first unread message
Assigned to tobia....@geosolutionsgroup.com by lorenzo...@geosolutionsgroup.com

gaetan....@gmail.com

unread,
Jan 30, 2024, 9:49:17 AM1/30/24
to mapstore-developers

Hi,
Currently, editingAllowedRoles allow to change geometry and attributes values.

I propose to insert a new editingAttributesAllowedRoles into FeatureEditor.cfg config to prohibit some roles to use geometry actions in EDIT mode.

If a user is an attributes editor only, some FeatureEditor toolbar buttons will be  hidden  and user can only change attributes values.


Here an example where toolbar's geom action buttons are hidden due to user access rules : 

allowEdit.gif

Here FeatureEditor config to insert new editingAttrubutesAllowedGroups property :

cfgAttributes.png


=================

What do you thing about this new feature ?

I will write a next message to describe my technical purpose.

Thank you for your feedback. I will create a new pull request according to your comments.

Gaetan B

gaetan....@gmail.com

unread,
Mar 4, 2024, 10:03:39 AM3/4/24
to mapstore-developers
Hi,

As I'm waiting for a reply, should I reconsider this proposal ?
Thanks.

Gaëtan

Tobia Di Pisa

unread,
Mar 7, 2024, 4:06:29 AM3/7/24
to mapstore-...@googlegroups.com
Dear Gaetan,

I'm sorry for not keeping in touch with you sooner. That's really appreciated but we still have to check it unfortunately. We will try to check it to get back to you as soon as we can.

Best regards,
     Tobia Di Pisa

--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mapstore-developers/518c16ba-5e83-4fb8-877a-d467e0096162n%40googlegroups.com.


--


==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==
Dott. Ing. Tobia Di Pisa
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313

mobile: +39 340 1781783
fax:      +39 0584 1660272

https://www.geosolutionsgroup.com/
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.

tobia.dipisa

unread,
Jun 24, 2024, 1:19:31 PM6/24/24
to mapstore-developers
Dear Gaetan,

I'm really sorry for the late feedback. 
I think this should be connected with the other feature you are proposing on the other thread of this ML.
In addition, I think both things should be handled together and a bit differently to be of general purpose.
In this specific case we shouldn't limit the concept only to the geometry attribute. Instead, we should treat it like all the other attributes and introduce the concept of "different groups/roles can be allowed to edit different attributes". That's a more generic way to see this implementation, in my opinion, to cover other possible scenarios but mainly to refactor the existing configuration tier to maintain it over time without stratifying many different configuration in many different places.
That's anyway a really interesting editing support for the Attribute Table and a solution from the UI found for it, in my opinion, to be able to select allowed groups (e.g. by the ADMIN, to be discussed maybe).
I think we should definitely better handle all involved proposals you have in a call as soon as possible to discuss together before a PR is raised for these.

Best Regards,
     Tobia Di Pisa

Reply all
Reply to author
Forward
0 new messages