Questions tagged [usergroups]

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

343 questions
0
votes
1 answer

add different body CLASS based on if a user group is signed in Joomla

I have this $user =& JFactory::getUser(); $pageclass =""; if(array_key_exists('Basic Spinervals Cycling Membership',$user->groups)) { $pageclass .="basicMemberUsers"; } if(array_key_exists('Download Club',$user->groups)) { $pageclass .="…
0
votes
2 answers

How to set discount per product per customer group?

I need to set a discount in percentage for product per customer group through the admin panel. I know there is Magento Promotion rules. But I want to set it as "per product per user group" . I need something like this. Is there any way to do this?
dhi_m
  • 1,235
  • 12
  • 21
0
votes
2 answers

Create Groups in BuddyPress not showing

I have installed the BuddyPress plugin and as a user can't seem to be able to create a Group. If I go to mydomain.com/members/my-username/groups/ I don't see a link to Create Groups. But if I hand-type the Create at the end of this link:…
Dave_O
  • 11
  • 2
  • 7
0
votes
1 answer

How to configure backend user/group in Typo3?

I created a group with full rights in access list and added every single page in DB Mounts. Next I created a user and added him to the group (the user has full access rights and all pages added in DB Mounts). But when I log in as my new backend…
Paradiso
  • 39
  • 4
  • 8
0
votes
1 answer

searching a c++ map for authorization

I am wondering what are the efficient ways of searching a map for user groups. Assume we have got a map of specific objects of which a user group has got permission to access it. Would it be better generate another map for each user group to be able…
xpath
  • 33
  • 4
0
votes
3 answers

Getting value from database field and check if the same as variable in PHP?

I would like to get the usergroup from my database, and then check if it is 2 (which would mean its an Admin). I currently have this code as setup: Login.php
MrDikke
  • 157
  • 1
  • 1
  • 10
0
votes
3 answers

Magento - How to trigger event (change user group) after purchasing a specific product

My question is how to trigger an action after a successful order (with ID 11)? I read from previous questions that I need to create an observer for checkout_onepage_controller_success_action but not much is explained after that. Below is the code…
user2772219
  • 129
  • 1
  • 10
0
votes
1 answer

Tuleap - Assign the artifact to User Groups

We have implemented tuleap to my organisation and we have some 5 internal groups. I have created a tracker with new artifacts is only bind to user-groups and not to users. So, when a new artifact was created the team member will only select the user…
0
votes
1 answer

Change owner of a sharepoint site

My company has recently started sharepoint for collaboration. Now I created sites and subsites for all my projects. And that time I created new groups for owner, members and visitors for each subsite. But later I realised that the owner group can be…
Juli Gupta
  • 93
  • 1
  • 10
0
votes
1 answer

Retrieving the local group name by which a particular user belongs to

I want to retrieve the local group name by which a particular user belongs to. IE, suppose if we know the user and don't know his/her group name in such case i want to retrieve the group name.
Aswathy
  • 31
  • 1
  • 6
0
votes
1 answer

How to make a field readonly for a particular group in Open Erp 7?

I have a field which i want to make it readonly for all the user from a group, lets say base.group_userA. any other users will be able to edit and save the field. How do i do that in openerp?. I have already set all CRUD access rights for all…
user1930115
  • 995
  • 2
  • 11
  • 19
0
votes
1 answer

How to setup django permissions along TDD?

I would like to use the default django permissions in my project. Base is that there are 3 types of users, a super user and two other distinct type of users. I'm working towards a system with groups and permissions. So add the two different types of…
0
votes
1 answer

Automatically change user group based on an XP value in Joomla

I have assigned a field in the user database of my Joomla site to hold a value for a users experience (userxp). When a new user registers, they are assigned a default userxp value of 0. I'm going to be developing a system where a user completes…
0
votes
1 answer

Only a wordpress group of user can access to a folder using .htaccess

I don't know a lot about .htaccess. I have a web with Wordpress and I made a part private only for subscribers. I have installed a couple of Wordpress plugins to control the access to that page. The problem is that the "private" page links to a…
prepu
  • 1
  • 4
0
votes
1 answer

Database Schema - Groups, Subgroups, Users and Achievements

I asked something similar some days ago, but, something changed now. In the last question (here) I wanted to know how to make a database that could hold data for groups, users and achievements, but now I need to know how to do that, but also adding…
M1k4
  • 21
  • 1
  • 5