Questions tagged [usergroups]

For questions relating to user groups, in a security or permissions context, independent of platform.

343 questions
0
votes
0 answers

Python Django - returning posts to a user based on their group

I am trying to create my own Learning Management System (LMS) as a project to learn a range of programming languages. So far users can login/logout and register. However what i want the system to do is to return a post to the user specific to the…
0
votes
2 answers

Check, whether Teams/SharePoint user exists in Office 365 Group, using Power Automate

I have a sharepoint site that was automatically generated when a Team was created in MS Teams. I am an owner of the Team and therefore also of the sharepoint site. In the sharepoint site I made a list in which all Team members can add new rows. In…
0
votes
1 answer

django Filter customers in the specific user groups

I want to display Customers from specific groups in the ListView, not able to understand how to get the queryset class CustomerList(ListView): model = Customer queryset = Customer.objects.filter(member__groups__name__in=['online', 'whatsapp']) …
Laxmikant
  • 2,046
  • 3
  • 30
  • 44
0
votes
1 answer

Create a new users group for inno setup

I need to create a new usersgroup, because it is not included in the ones already created : authusers Authenticated Users group creatorowner Creator Owner everyone Everyone group guests Guests group networkservice Network service…
Serinkan
  • 53
  • 1
  • 8
0
votes
1 answer

AzureAd get groups info when not in token

I few days ago I configured my AzureAd to get Id_Tokens for my app also with groupIds claims within the token. Everything works fine, but if I add more than 5 groups to an user it fails because azure add the "hasgroups": "true" claims because token…
0
votes
1 answer

Flask + Gunicorn + Nginx: Group www-data not installed

I am new to web services especially when it comes to deployment options. I made a Flask application webserver, and now I would like to deploy it on production mode. I went for Gunicorn + Nginx options and followed this tutorial on Medium. I…
jegertor
  • 73
  • 2
  • 8
0
votes
1 answer

windows server 2016 identity group

I opened active directory users and computers, selected builtin and I created a group called Employee, and added my own current user to it. However when checking my groups in code like this I cannot see the Employee group WindowsIdentity…
0
votes
0 answers

Call of CheckTokenMembership Always Fail (return value always False) - Call from SCADA (WinCC)

I would like to write a function to check if a given user is member of a group, in C language (it is based on a code which I found on stackoverflow How to programmatically figure out if a user account is a member of a particular group in Windows?).…
0
votes
1 answer

Odoo: Make a statusbar button invisible to a group of users

I would like the button (draft) to be visible just by a simple user group and not by the group manager. but since the manager is first a simple user before being a manager, how to do it? Here's the button
0
votes
2 answers

Django: Filter ListView on Groups / Iterate queryset over list

Given a User can belong to more than one Group, I would like to ask how to filter on Groups in the below scenario. In Django I have a ListView showing a product list. I have two groups: Company_1, Company_2. I have 5 users: Worker_1, Worker_2,…
Jaco
  • 1,564
  • 2
  • 9
  • 33
0
votes
1 answer

Share PowerApps Apps & Connections With Groups

We have a suite of apps we are developing. We have already rolled the app out to about 50 users and have over 200 more. Sharing connections (custom connection & connector) and the apps have become super cumbersome. Long story short, this is a lot of…
markokstate
  • 923
  • 2
  • 14
  • 28
0
votes
1 answer

Set the permissions of all files copied in a folder the same

I would like to create a folder (in Linux) that can be used as cloud-like storage location, where all files copied there automatically will have g+rw permissions (without the need of chmod'ing), such that they are readable and writable by people…
Leptoceratops
  • 177
  • 2
  • 12
0
votes
1 answer

Confusion about the django permission and group model?

For example I create permission like this: Permission.objects.create(name='Can add',codename='can_add',content_type=1) Now if I want to apply this permission in some view I need to use permission_required decorator like…
D_P
  • 802
  • 10
  • 32
0
votes
1 answer

How to migrate Groups from user data store to WSO2 Identity Server?

We have an application which allows an admin to add user, groups, roles and permissions and has its own user data store which stores this information. I have referred the official documentation of WSO2 IS…
chatzz
  • 9
  • 2
0
votes
0 answers

How i can i revert the comands i made on ubuntu terminal?

I made a mistake and ran the command below on my root directory, now my system is all messed up. I can't run Sudo, etc. Is there any way I can revert this command, or set back the correct user permissions? sudo chmod -R 777
Nengak dakup
  • 88
  • 2
  • 11