directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <>
Subject [jira] [Created] (FC-186) pass tenantid when deassign role from group
Date Thu, 06 Oct 2016 20:07:20 GMT
Shawn McKinney created FC-186:

             Summary: pass tenantid when deassign role from group
                 Key: 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

View raw message