Questions tagged [usergroups]

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

343 questions
0
votes
2 answers

Small issue with custom code to detect if a user is a member of a specific usergroup

I have the following code which detects if a user is a member of a certain Joomla usergroup and displays the relevant link to the user. This works great for 1 usergroup, BUT when a user is a member of more than 1 usergroup, the buttons are repeated…
0
votes
3 answers

Joomla Error Messages for Specific User Group

I'm trying to set up customer error messages for different user groups in Joomla 3.6. We have locked content on the front-end of our site, currently there is a generic message that tells the user to login to see it, however we recently adjusted our…
Sarah O
  • 1
  • 1
0
votes
1 answer

How to show different views depending on the fe_usergroup in Typo3 6.2 Extbase extension efficiently?

Right now I'm getting the currently logged-in user's usergroup(s) in my action-controller like this: $roles = $GLOBALS['TSFE']->fe_user->groupData['title']; I pass this information to my view and then do stuff like this:
Cold_Class
  • 3,214
  • 4
  • 39
  • 82
0
votes
1 answer

how to assign a user in a particular group in the registration process itself in django

I have created a custom user creation form in which I included a choice field 'Company' & 'Truck' so that user can be identified according to the field. Here is my registration page I also created two groups Truck & Company via admin page. I want to…
vanam
  • 135
  • 1
  • 4
  • 14
0
votes
2 answers

Application Cannot Acces File even though I can copy it using Explorer

An internal application in our company requires files aa, bb ... zz in folder X to be read upon startup. When I (as someone with FullControl access to folder X) launch the app, all goes fine. When any of my colleagues (who only have Read access to…
Daniel Bencik
  • 959
  • 1
  • 8
  • 32
0
votes
1 answer

verify user secondary groups

I have list of secondary group names eg group_1 group_2.. group_n and a username eg : user1 Now i need to do Make sure that all the groups are present Make sure no extra groups are present I tried using id -nG user1 | grep | grep…
rdm_
  • 67
  • 1
  • 8
0
votes
1 answer

How to programmatically create groups and permissions in Django?

I'm trying to create group and add some permissions to it. This is what I did: students = Group(name='Students') students.save() somemodel_ct = ContentType.objects.get(app_label='course', model='course') can_view = Permission(name='Can View',…
ssapp
  • 313
  • 1
  • 5
  • 13
0
votes
2 answers

How can I check if user is in usergroup "Friends" in Joomla 3?

how can I check, if current user is in usergroup called for example "Friends" (title) in Joomla 3? $user = JUser::getInstance($result->id); $groups = $user->getAuthorisedGroups(); // just IDs, not title Thanks.
user3646958
0
votes
1 answer

postgresql trigger when user group is changed?

I would like to know if it is possible to have a trigger when a user is added to or drop from a group ? Does this trigger could also works when directly create a user in a group (create role ... in group ...) ? (In fact, I want some users of a…
Philippe Gonday
  • 1,747
  • 5
  • 21
  • 32
0
votes
2 answers

AEM Workflow process steps should not be shown to user after initiation

I have configured the workflow for a particular user group(author), who can only initiate the workflow, rest of the workflow steps should not be shown to user. In the current scenario if I am giving user to execute the workflow then all the process…
Sandeep Rawat
  • 260
  • 1
  • 4
  • 12
0
votes
1 answer

Microsoft Lync OU Groups

I can access the users in the domain by typing the contact name in the search box. Is there a way in the Lync account to organize the users in the same domain into groups as Organizational Units? Example: Sales Department: -User 1 -User 2 -User 3 HR…
glennjgalea
  • 1
  • 1
  • 1
  • 4
0
votes
1 answer

Prestashop: disable add-to-cart button depending on user group and product

I use Prestashop 1.6.2 and I have a problem trying to add this function. I am a little bit new trying to mod prestashop, the thing is that I have some products that can be bought only for professionals. Everytime a user registers it's assigned to a…
albera4
  • 33
  • 1
  • 1
  • 6
0
votes
0 answers

How to deny access of a user group on particular views of a joomla component in admin panel. Not for whole component

I'm working with joomla 3. Consider a joomla component with 6 views. And two user groups named user-group1, user-group2. My requirement is like this: user-group1 should be able to access the first three views of the component.( access on last three…
Muthu kumar
  • 162
  • 1
  • 2
  • 12
0
votes
1 answer

How to create ASP.NET 4.0 pages contain controls under roles (Admin or not)

I want to build web pages using ASP.NET 4.0 (C#), and I want some controls to be appear for the admin role for example. And disappear for the normal user. I suggested the (Multiview) standard control! The question is: Is this method PERFECT? or…
0
votes
0 answers

Wordpress magazine subscription service using Groups, Woocommerce, & Issuu. How do I manage customer renewals?

I'm currently trying to figure out the easiest way to handle a new system my client wants my to implement. The client wants to sell an interactive digital form of their magazine on their website (not just a PDF download). So far I have the following…
Christy
  • 191
  • 1
  • 4
  • 12