For questions relating to user groups, in a security or permissions context, independent of platform.
Questions tagged [usergroups]
343 questions
0
votes
1 answer
How to add role to group using constructor
I've been tried to set role to every group while they are creating. I thought using __constructor will be good idea, but it doesn't work, ROLE_ADMIN isn't in new groups. I don't know what I'm doing wrong.

d0naciak
- 3
- 1
0
votes
2 answers
Get all Groups of a user/group recursively
I have some code to get the groups of a user and write them down into an Arraylist, however ît will only find the groups where a user is directly in. It won't find groups deeper then 1 level.
For example: User is member of Group 1, Group 1 is…

Andr0mega
- 65
- 3
- 13
0
votes
3 answers
VB.NET Error - Null Reference Exception could occur at run time when the result is used
Background: I wrote code that will output all the currently logged in User's Active Directory group names. I want the group name (ex: Acomp_user_BIG) via IdentityReference.Translate instead of the current user's SID's (ex: S-1-5-32-544) returned via…

Brian McCarthy
- 4,658
- 16
- 49
- 66
0
votes
3 answers
Error while updating user group in django?
Here I am trying to add/update group name and user permissions and i tried like this.
For add it is working fine but while updating with function edit_user_group i got problem.
The problem is
Exception Type: IntegrityError Exception Value: …

Hello
- 312
- 1
- 5
- 14
0
votes
1 answer
User group is not creating?
Here I made a form for taking the group name from the user and then tried to create group name with that name entered by user but it is not giving me the expected result.It is neither throwing any error nor saving the data in the database.
When i…

Hello
- 312
- 1
- 5
- 14
0
votes
3 answers
Leverage Groups for Workflow Approvals
We're implementing a new workflow (combined with staging task sync) on an existing website where we would like to notify all members that "own" that particular section/content to approve changes.
One of the options is to have multiple roles and…

Pedro Costa
- 2,968
- 2
- 18
- 30
0
votes
1 answer
Display group name of user with a template
For the staff members of my website, I am displaying a list of all users registered and I want to display their group. It's working except that I get ]> instead of UserGroup.
Tried to use group =…

saikuron
- 329
- 1
- 2
- 13
0
votes
1 answer
How long it takes to sync new users in group to inherit flow run permissions?
When a new user is added to an Active Directory group, Microsoft Flow doesn't reflect changes on run permissions on this new user. In fact, the new user doesn't appear to be in the group immediately (it takes some time to reflect changes)
My…

Luis Barajas
- 478
- 3
- 12
0
votes
2 answers
Django 1.11 - make the whole site read-only for users from a given group (preferably with a fixture)
My question is not the same with View permissions in Django because that one explains how to deal with the issue in Django 2.1 and higher which has a concept of "view" permission while I am working with Django 1.1. which does not.
Django 1.11
I…

SwissNavy
- 619
- 1
- 12
- 28
0
votes
1 answer
Export users sharepoint group
I am looking for a way how to export sharepoint groups via javascript of specific user(filled via input box). Can someone advise please? I managed to export all groups on sharepoint as well as currently logged in but not specific one. I also found…

Rudolf
- 48
- 1
- 1
- 7
0
votes
1 answer
Why does the WinAPI function ::NetUserGetLocalGroups() not return all groups?
I have a user DOMAIN\User.Name that is according to whoami /GROUPS in somewhat over 200 windows domain groups.
When I try do determine all groups for this user using the WinAPI function ::NetUserGetLocalGroups() I get only 27 groups for said…

Tromse
- 230
- 2
- 9
0
votes
1 answer
In linux, how can one find out when was a user added to/removed from a group?
The title pretty much captures everything. I'm on linux, and I want to find out when was a particular user added to or removed from a group. Some Google-ing leads me to believe it is possible in Windows, but I couldn't find anything relevant for…

user10
- 2,126
- 5
- 19
- 26
0
votes
1 answer
DirectoryEntry Invoke method name required for getting Authorization Groups
I am using the below method of DirectoryEntry
https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.directoryentry.invoke?view=netframework-4.7.2
I am trying to fetch the AuthorizationGroups using the invoke method.
I used the…

Sebastian
- 4,625
- 17
- 76
- 145
0
votes
1 answer
Why every user is created under a default "PUBLIC" group role in postgres 9.6?
I am wondering why every role or user created in postgresql is created under default PUBLIC role group in postgres? How can I change the default group of a user from PUBLIC to any other group?
The reason is when I want to revoke the create privilege…

Hamid Mahmood
- 23
- 4
0
votes
1 answer
SonarQube Azure AD login does not place users in correct groups
I have set up Azure AD authentication on my SonarQube server as well as the corresponding app registration listed in Azure AD. The problem I am facing is that when I try to authenticate to the SonarQube portal using my Azure login, it logs me into…

ck147
- 1