Questions tagged [usergroups]

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

343 questions
2
votes
0 answers

How to get user_usergroup_map 'group_id' in Joomla 3.2.1

I need to output some content only available for a custom user group with id 10 (called Members). I found out how to get a default user group id in Joomla 3.2.1 with this code: $user = JFactory::getUser(); $usergroup =…
user1897753
  • 161
  • 2
  • 3
  • 8
2
votes
1 answer

Is using django auth Group the right way to solve this?

A little background: I am building a discussion board app aimed at educators. It's essentially a reddit-style discussion board where responses to a prompt are 'up-voted' or 'down-voted'. The content creators are anonymous to everyone except an…
alexhb
  • 435
  • 2
  • 12
2
votes
3 answers

Is it acceptable for a server-based application installer to create a new group?

We're building an application designed to run on Windows-based servers. One of the considerations we're looking into at the moment is how to control access to the application's GUI, which allows configuration and controls the "back end" services. In…
Anodyne
  • 1,760
  • 2
  • 15
  • 28
2
votes
2 answers

Allow users to select user group from custom Joomla login form

I am developing a website in Joomla 3.0. What I am trying to do is to create a custom login form. The reason I want to do that is to enable users to select the user group they want to be put in while they are registering. So I need to create a…
2
votes
2 answers

Can different users have same USER ID in MOSS 2007

Hi I am just curious to know whether different users can have same user ID in MOSS 2007. I have two SharePoint groups with different set of permission levels. SharePointGroup1 is in root site. The subsite has unique permissions, i.e., it is having…
Carol
  • 67
  • 11
2
votes
0 answers

Drupal 7 LDAP Authorization does not map ldap groups to drupal roles

In our company we've recently migrated from Drupal 6 to Drupal 7 and I'm having troubles configuring the LDAP. Authentication is working ok, but the ldap groups aren't created as drupal roles. With Drupal 6 and LDAP Integration the configuration was…
Dimas
  • 331
  • 1
  • 5
  • 15
2
votes
1 answer

How to create Groups like in Whatsapp in a MySQL Database

I am working on a program where I would like to like create a Group with Users which is then always there and saved in a MySQL Database. I just don't have any clue how to do this. I mean I could create a Table like: GROUPID INT PRIMARY KEY GROUPNAME…
alexj
  • 139
  • 1
  • 4
  • 15
2
votes
1 answer

Query PrincipalSearcher for containing multiple strings

I want to be able to query the active directory give a list of all groups containing certain words like Users or Administrators below is what i've got so far PrincipalContext ctx = new PrincipalContext(ContextType.Domain); GroupPrincipal qbeGroup =…
Sam Stephenson
  • 5,200
  • 5
  • 27
  • 44
2
votes
1 answer

Adding computer to Event Log Readers group using Powershell Commands

I need to add the computer to the Event Log Readers group. I had tried the below script. $hostName = "Hostname" $computername = $env:computername $EventLogGroup = [adsi]"WinNT://$computername/Event Log Readers,group" $temp =…
M.C.Rohith
  • 3,730
  • 2
  • 20
  • 26
2
votes
2 answers

Email Group Configuration in CC.NET using a single config file

We have started using CC.NET for continuous integration and as the number of projects monitored builds up I would like configure the email alerts via a single config file. What I mean by this is that I would like to have a list of the users in…
David A Gibson
  • 2,013
  • 5
  • 35
  • 60
2
votes
2 answers

Debian/Linux Group permissions are not working as they are supposed to

I'm working on BOINC project. I have two users: boincadm and www-data (for apache). Both belong to group boinc www-data : boinc www-data boincadm boincadm : boinc adm dialout fax cdrom floppy tape audio dip www-data video plugdev netdev bluetooth…
bravik
  • 433
  • 7
  • 17
1
vote
0 answers

webserver created files are not readable by sftp

I have a webserver that runs apache 2.2.14 in ubuntu with php 5.3.2-1ubuntu4.14. Php files in my webserver run as www-data. Any php script that creates a file or folder automatically creates it with owner/group "www-data:www-data" and sftp does…
Danny Dyla
  • 631
  • 4
  • 15
1
vote
2 answers

Joomla custom user groups

I have a Joomla website and there are two sections to the site. One section is for the public and the other is for retailers which have to be approved. What I need is to create a group of users which are the only ones who can access the retailer…
David Maksimov
  • 369
  • 5
  • 17
1
vote
2 answers

Sharepoint - Permissions?

Im trying to run a command on the AddUserToGroup method via webservices (UserGroup.asmx). I set up the code as follows. //set up the user group userGroup = new UserGroup.UserGroup(); userGroup.Url = vtiBin + "/UserGroup.asmx"; userGroup.Credentials…
dbones
  • 4,415
  • 3
  • 36
  • 52
1
vote
3 answers

I want to implement group permissions in my rails app. What is the most efficient way?

I want to be able to allow my admin users to be able to control almost every action that their standard users on the account can do. When creating group permissions for them to manage, is it better to have a giant table with over one hundred rows…
NullVoxPopuli
  • 61,906
  • 73
  • 206
  • 352