
-
Display Nameramakantgangwar
-
Member SinceSeptember 8th, 2015
-
Last SeenFebruary 4th, 2016
ramakantgangwar does not have any add-ons for sale.
-
Support November 11th, 2015 @ 6:03 pm
it works for all modules when I try to unlink from user bean
$rel_name = 'SecurityGroups';
$user = new User ();
$user->retrieve ( $userId );
$user->load_relationship ( $rel_name );
$user->$rel_name->delete ( $user->id,$securityGroupId);Its just not working when calling from "include/generic/DeleteRelationship.php" line number "89"
Thanks anyway
View Comment
-
Support October 15th, 2015 @ 8:21 am
I am using now as following :
View Comment$rel_name = $this->getLinkName ( $user->module_dir, 'SecurityGroups' ); if ($rel_name) { $user->load_relationship ( $rel_name ); $userSecurityGroups = $user->$rel_name->getBeans (); if (! empty ( $userSecurityGroups )) { foreach ( $userSecurityGroups as $userSecurityGroupId => $userSecurityGroup ) { //you can load any table $securityGroupUserRelationshipRows = $user->retrieve_relationships ( "securitygroups_users", array ( "securitygroup_id" => $userSecurityGroupId, "user_id" => $user->id, "noninheritable" => 0 ), "{COLUMN_OF_SECURITYGROUP_USERS}" ); } } }
-
Support September 9th, 2015 @ 12:18 pm
Thanx its working for one level
Again
Team Member (level1) can see all nodes (own + all nodes in same group). except his/her seniors i.e. Team Lead and managers
Team Lead (Level 2) can see all nodes (own + all members'). except his/her seniors i.e. managers
Manager (Level 3) can see all nodes (own + all team leads' + all members').Should I do some custo coding or can it be achieved simply?
View Comment
-
Documentation September 8th, 2015 @ 1:04 pm
Hello,
I have a question : How ti implement security group hierarchy?
My requirement is as following :
let us take an example I have only one module "Node"
I have a few teams with hierarchy.Ex. "Team A" has 3 members "Amember1", "Amember2", "Amember3" and two admin of Team A "Aadmin1", "Aadmin2"
members of "Team A" can see all data in same team.
Admin of "Team A" can see all data in same team.
members of "Team A" can not see data of Admin.
And "Aadmin1" can not see data of "Aadmin2" and vice-verse .Again there is N level of team hierarchy.
I have implemented this as follows :
- create security group for team A -> "SG-A-Normal"
and assigned this group to all members and admin
-create security group for team A admin -> "SG-A-Admin"
and assigned this group to admins of Team A. and make this admin group to default group of Admins.
SG-A-Nomal security group has a role with all access to Module "Node"
SG-A-Admin security group has a role with owner access to Module "Node"But the problem is when I reached to level 4 heairchy
I will have to create multiple security groups and assign them to level 4 admin
Means Level 4 Admin will have all access to level 3, level 2, level 1.You can also reach to me at ramakantgangwar@drishti-soft.com
View Comment
--Ramakant Gangwar
- create security group for team A -> "SG-A-Normal"
ramakantgangwar has not rated any add-ons.
ramakantgangwar has not verified any add-ons.
ramakantgangwar has not created any Wanted Add-ons.
Keep up to date on the latest additions