[ 
https://issues.apache.org/jira/browse/FC-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn McKinney closed FC-252.
-----------------------------

> Fix Multitenancy bugs in addRoleConstraint
> ------------------------------------------
>
>                 Key: FC-252
>                 URL: https://issues.apache.org/jira/browse/FC-252
>             Project: FORTRESS
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Major
>             Fix For: 2.0.3
>
>
> In order for multitenancy to work, manager impl level code must set the 
> context id after instantiating a model object.
> e.g.
> User user = new User( uRole.getUserId());
> user.setContextId( contextId );
>  
> This is how the tenant is then passed down into DAO layer, in order to 
> navigate to correct sub-tree. 
> This issue fixes problems found in add and removeRoleConstraint methods in 
> the AdminMgrImpl class.
>  
> Commits have already been made (and tested)...
>  
> removeRoleConstraint
> [https://github.com/apache/directory-fortress-core/commit/03dda314fcf278e8b7738d3471963a0a204cdaf9]
> addRoleConstraint:
> https://github.com/apache/directory-fortress-core/commit/4d2a6130265dd23dcefc0d693398920f8dccfabc



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to