Hi.
I'm struggling with configuring access rules for an entity (including sub entity).
I've an entity which holds data belonging to different departments. The access (also view access) should only be possible for users belonging to the department assigned to that data. I tried to use grouped users.
So I configured a field of type "grouped users" in that entity using a global list. Then I accessed users to the items in the global list. I set the access rules to "view assigned only". It does not work. I only get items shown, which are added be that user (field "added by").
So, what do I wrong?
Does any one has some instructions or an example how to get it done? Many thanks.
Access Configuration with grouped users
- support
- Site Admin
- Posts: 6194
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Access Configuration with grouped users
My mistake. Forgot to add rules for this field type. To fix files from archive replace to:
includes\classes\items\items.php
includes\classes\users\users.php
Let me know if it works ok. Also please check access rules for other entities.
includes\classes\items\items.php
includes\classes\users\users.php
Let me know if it works ok. Also please check access rules for other entities.
- Attachments
-
- fix.zip
- (14.32 KiB) Downloaded 135 times
- rennecke
- Sponsor
- Posts: 214
- Joined: 14 Jan 2018, 12:55
- Name: Eberhard Rennecke
- Location: Switzerland Zurich
Re: Access Configuration with grouped users
Dear Sergey.
Many thanks, works as expected. Also other access rules work as I configured them.
On field type "user" there is a checkbox "Authorized user by default". Maybe something similar could be assigned to the grouped user field. I know this is more tricky, as a user could be assigned to several "user groups".
Regards Eberhard
Many thanks, works as expected. Also other access rules work as I configured them.
On field type "user" there is a checkbox "Authorized user by default". Maybe something similar could be assigned to the grouped user field. I know this is more tricky, as a user could be assigned to several "user groups".
Regards Eberhard
- rennecke
- Sponsor
- Posts: 214
- Joined: 14 Jan 2018, 12:55
- Name: Eberhard Rennecke
- Location: Switzerland Zurich
Re: Access Configuration with grouped users
Hi.
I have two other issue with the grouped user field:
1. It was not shown in the import field matching configuration: 2. It can not be modified with "update selected" - the field can be selected, but than there are no entries to select:
I have two other issue with the grouped user field:
1. It was not shown in the import field matching configuration: 2. It can not be modified with "update selected" - the field can be selected, but than there are no entries to select:
-
- Investor
- Posts: 417
- Joined: 19 Dec 2018, 02:33
- Name: Robert McDonald
- Location: Auckland, New Zealand
- Company Name: Unicloud
- Contact:
Re: Access Configuration with grouped users
Hi I am not sure if my issue is similar to this or not , when I create a global list and attach the user to the value, they arent getting any notifications and the item does not show up in assigned only reports ?
- rennecke
- Sponsor
- Posts: 214
- Joined: 14 Jan 2018, 12:55
- Name: Eberhard Rennecke
- Location: Switzerland Zurich
Re: Access Configuration with grouped users
This is not solved in 2.5.
Will it be possible to implement into 2.5 final release?
Will it be possible to implement into 2.5 final release?