Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1079548

Summary: KIE-WB does not honor added repository roles until restart
Product: [Retired] JBoss BPMS Platform 6 Reporter: Adam Baxter <abaxter>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: abaxter, kverlaen, manstis, mbaluch, tkobayas
Target Milestone: ER1   
Target Release: 6.0.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:51:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Baxter 2014-03-21 19:24:10 UTC
Description of problem:
When roles are added or removed to a repository using kie-config-cli in online mode, the roles aren't applied until after KIE-WB is restarted.  

Version-Release number of selected component (if applicable):
6.0.0

How reproducible:
User is provided "developer,user" roles. KIE-WB is assumed to have already been started

Steps to Reproduce:
1. Add repo role "repo1" to a repository via kie-config-cli. Changes are pushed.
2. Log in as User. The repository is available, even though user doesn't have the correct role.
3. Restart JBoss
4. Log in as User. The repository is unavailable.

Actual results:
Roles are applied only after Kie-WB is restarted. 

Expected results:
Roles are applied immediately, or on user log-in. 

Additional info:

Comment 4 Maciej Swiderski 2014-04-01 09:48:22 UTC
pull request for UberFire is waiting to be merged into code base: https://github.com/uberfire/uberfire/pull/44

Comment 6 manstis 2014-04-11 08:21:44 UTC
*** Bug 1086489 has been marked as a duplicate of this bug. ***

Comment 7 Radovan Synek 2014-05-22 10:06:53 UTC
Verified with BPMS-6.0.2.ER2