Questions tagged [usergroups]

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

343 questions
2
votes
1 answer

What is the correct way to setup linux users & groups when multiple users rsync to the same remote location?

I have multiple developers trying to rsync files (symfony php projects) to the same remote location. This has been setup as follows: Each user has their own login on the remote server Each user is a member of the same group on the server, say…
Slate8
  • 139
  • 1
  • 4
2
votes
1 answer

How to give a group write access to a Bitbucket repository via shell command line

I've created a Bitbucket repository using a Jenkinsfile, with the following code (with private data replaced with {}): sh "curl -X POST -H \"Authorization: Basic {KEY}=\" \"https://api.bitbucket.org/2.0/repositories/{project}/{repository_name}\" -H…
James
  • 749
  • 1
  • 9
  • 22
2
votes
2 answers

How do I create a custom Active Directory permission and group so that I can verify users against this?

I have looked at many search results but I am struggling to find a way to programmatically (using C#) create a custom permission and a custom group in Active Directory. I have an application that will need to have about 50 individual permissions,…
SolidRegardless
  • 427
  • 3
  • 17
2
votes
1 answer

Automatically assign User to user group after register/sign up form submission - Django

I am relatively new to Django, and web development in general. I'm trying to build a website with two types of users, customers, and suppliers. I need to be able to show these two types of customers different things on the website. For example,…
2
votes
1 answer

Where to implement the security filter for dynamic groups

First I'll describe rougthly the context. I want to have a symfony application where I can create various areas. In each of the areas, you can have different kinds of users (or roles). Each user can have multiple roles in different areas. To…
Vincent Mimoun-Prat
  • 28,208
  • 16
  • 81
  • 124
2
votes
0 answers

Add thumbnails to user groups and show user groups in WordPress

I have already installed a plugin called 'Groups' from Plugin Directory And created main user groups called, Freelancers, Ad publishers and Members. And I created few user groups called, Photographers, Audio Producers and so on under Freelancers…
Gayan Sandamal
  • 341
  • 1
  • 3
  • 11
2
votes
1 answer

Remove a user from an access group in odoo

I need to remove a user from Administration group (settings/Access Rights). I tried below code but nothing happened. Custom_module.xml
KbiR
  • 4,047
  • 6
  • 37
  • 103
2
votes
1 answer

chown illegal user name

I'm trying to sudo chown -R vagrant:vagrant .ssh. From this answer, I was told to make sure the group exists, so I have. My output from dscl . list /Groups PrimaryGroupID lists vagrant as one of the groups, so why can't I chown?
Alexander Kleinhans
  • 5,950
  • 10
  • 55
  • 111
2
votes
1 answer

CKAN package group permissions

How can I change the permissions in CKAN, so every editor/admin of an organization can add a group to a dataset (right now, the editor or admin has to be a member of the group to be able to add a certain group to a dataset)? The dataportal I am…
xFinitive
  • 23
  • 3
2
votes
2 answers

Displaying my content for two defined user groups

I have two user groups - Admin (A) and Moderator (M) - and a navigation menu. Some of the links are only to be visible for the Admin, while the others are visible to both. Here's my current code:
Paul Ruocco
  • 462
  • 3
  • 18
2
votes
3 answers

Merge two (or more) arrays and keep values that are highest?

I've got a permissions/group based setup that I'm trying to merge results on. For example, a user might be associated with four groups: | username | passwd | email | groups | | test_user | 9agb9 | test@test.com | g1, g2, g3, g4…
rage8885
  • 419
  • 1
  • 8
  • 17
2
votes
2 answers

equivalent command of net group /domain for linux?

I've been searching for quite a while for this, And couldn't find it anywhere. Firstly, Is there equivalent command to: wmic computersystem get domain Which return the current user primary domain. And I've been wondering whether there's an…
StationaryTraveller
  • 1,449
  • 2
  • 19
  • 31
2
votes
1 answer

Facebook API User Group access

I understand that with the Facebook API release 2.0 you now have to get permission to access a Facebook users' user_groups. I thought it was a review to keep out spammers and we developed an App that requires user_group access but actually sends…
2
votes
1 answer

jenkins shell user groups and normal shell user group is different

I am running "jenkins" on CentOS. After build, I want to copy binary to my shared directory, so I add "jenkins" user into my "personal" group. In the normal shell, it runs ID command and it shows "jenkins"'s group is both "jenkins" and "personal",…
2
votes
3 answers

How to build a user/group/achievement database?

I'm working on a new web platform that has users, groups and those users can get achievements (each group has its own achievements) for doing specific tasks and these are the tables I have at the moment: Users Groups Group_users (used to store…
M1k4
  • 21
  • 1
  • 5