-
Zh OpenStreetMap
-
Component
-
Group Permissions
Group Permissions
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
3 years 10 months ago #13595
by sanax
Hi Dima
Can you explain why it may not be a good idea? I would rather not make changes to the database tables to get this done. It may be overide with updates?
I would like to keep it simple. An access level option within "Groups" will solve the problem?
TIA
Please Log in or Create an account to join the conversation.
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
3 years 8 months ago #13723
by sanax
Hi Dima
I'm getting closer to restrict some placemarks to a certain group.
Any ideas how to do this? I see that you don't recommend using duplicate maps with those restricted placemarks.
TIA
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
3 years 8 months ago - 3 years 8 months ago #13728
by Dima
Hi.
Today I don't add ACL control to groups and other map objects (paths).
You can easy update placemark to appropriate ACL level by update and restrict by group as I wrote above, ie
update demo_zhosmmaps_markers
set access = 2
where markergroup = 10
It means I updated placemark table (in your case change
demo to your table prefix) and set access to 2 (Registered) for all placemarks belonging to group with id = 10
Access values is
- 1 - Public
- 2 - Registered
- 3 - Special
- 5 - Guest
- 6 - Super User
Last edit: 3 years 8 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
-
Zh OpenStreetMap
-
Component
-
Group Permissions
Time to create page: 0.110 seconds