Group Permissions

  • sanax
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 5 months ago #13595 by sanax
Replied by sanax on topic Group Permissions
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
  • Senior Member
More
4 years 3 months ago #13723 by sanax
Replied by sanax on topic Group Permissions
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.

More
4 years 3 months ago - 4 years 3 months ago #13728 by Dima
Replied by Dima on topic Group Permissions
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
Code:
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

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 4 years 3 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • sanax
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 3 months ago #13747 by sanax
Replied by sanax on topic Group Permissions
Thank you, Dima!

I will report back to you!

Please Log in or Create an account to join the conversation.

Time to create page: 0.180 seconds
Powered by Kunena Forum