Assign Users Access Groups to a record (in addition to individual users) [Solved]

Put your suggestions here.
Post Reply
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Assign Users Access Groups to a record (in addition to individual users) [Solved]

Post by elviseras »

This suggestion is related to the following topic: viewtopic.php?f=16&t=1356&start=10

Within the same entity many times it is necessary to create a status field that assigns the visibility or access to the records according to the user, for example:

1) Access to documents that can not be visible to a client, unless their status is "final"
2) Access to photos ingested from a public form and that must be reviewed only by an admin (state 'pending review') and then changed to other states ("internal", "public", "restricted", etc) that will give access only to some users or all ...

For that, there is an option in the fields type 'Grouped Users' or 'Approve' that allows you to assign a users list according to the values ​​of the field ... This is perfect when there are few users and they are not changed frequently, but when there are hundreds of users and they change very often (such as in a repository of documents or photographs) it is necessary to can assign by Users Access Groups (admins, managers, clients, etc.) not only individual users.

Thanks for thinking about it!!
Last edited by elviseras on 02 Dec 2019, 22:57, edited 1 time in total.
User avatar
support
Site Admin
Posts: 6233
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by support »

As I understand do you need new field type allows you assign user group (that configured in default Users Access Groups in app) to item. Correct?
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by elviseras »

Hi, keep in mind that being able to see the record has to depend on the value of the "status" of another field, for example:

A "Status" field with the following values: New, Internal, Public
a) If the value of "Status" is New, the record can only be viewed by Admin Group users
b) If the value of "Status" is Internal "the record can be viewed by Admin Group users, Manager Group Users & Documentalists Group Users
c) If the value is "Public" the record is visible to all user groups

This should only affect the visibility of the record, once record is visible (Depending on 'status' and 'user group') access group permissions to registry (Edit, move, copy, delete, etc) will remain the same depending on the user group

For this I commented that it will be easier to add this functionality to the 'Grouped Users' or 'Approve' field types (because they allow this to be done with individual users) than to create a new type of field.

I think you can understand it better if you see the initial thread again: viewtopic.php?f=16&t=1356&start=10
User avatar
support
Site Admin
Posts: 6233
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by support »

In code it's easier to add new fields type that allows you assign internal user group to item. Added in plan.
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by elviseras »

Ok, thanks for your good news !!
User avatar
support
Site Admin
Posts: 6233
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by support »

Start working on this field type. As I understand we don't need notification for assigned users because it can be a lot of users assigned to one group. Correct?
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by elviseras »

Start working on this field type
Thanks!!
we don't need notification for assigned users...
Would it be possible to add as a checkbox option? In some cases it may be necessary...
User avatar
support
Site Admin
Posts: 6233
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by support »

Agree. Will add this option.
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by pepe »

Hi Sergey,
When making adjustments to user access and group access could you please consider the refinement of access to entity user?
For example: Mangers should not be in the position to create admins. An easy way to solve would be to restrict access based on sort order in user entity. Manager (sort order 2) cannot create/assign user admin (sort order 1).
Thank you & regards, Pepe
User avatar
support
Site Admin
Posts: 6233
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Assign Users Access Groups to a record (in addition to individual users)

Post by support »

Post Reply