You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2016/10/06 20:07:20 UTC
[jira] [Created] (FC-186) pass tenantid when deassign role from
group
Shawn McKinney created FC-186:
---------------------------------
Summary: pass tenantid when deassign role from group
Key: FC-186
URL: https://issues.apache.org/jira/browse/FC-186
Project: FORTRESS
Issue Type: Sub-task
Affects Versions: 1.0.1
Reporter: Shawn McKinney
Assignee: Shawn McKinney
Fix For: 2.0.0-RC1
anytime a mgr impl calls down into a DAO (thru the P object) the tenant id must be set onto the entity.
Change code as shown below:
public final class AdminMgrImpl extends Manageable implements AdminMgr, Serializable
{
...
public void deleteRole( Role role ) throws SecurityException
{
...
List<Group> groups = groupP.roleGroups( outRole );
for ( Group group : groups )
{
group.setContextId( this.contextId );
groupP.deassign( group, outRole.getDn() );
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)