[rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles

2014-08-19 Thread 706826
I want to put access control on the BRMS repository/project access, so that
developer-A can only work on repository-A. We have a central BRMS which has
one repository per project. We have 20 projects and have 20 repository, one
for each project.

We strongly want that user working on project-A must have access only on
project-A in BRMS.

I read the documentation that says,

*The user either has to belong into a role that has access to the
repository or to a role that belongs into an orgazinational group that has
access to the repository. These restrictions can be managed with the command
line config tool.*

Our implementation to the above doc statement is to create custom roles for
each of our project. Then assign developer , analyst and admin permissions
to the roles and then assign these project specific roles only to the
project users. This way each project will have its own roles. And users
under those roles will be able to access only that project and repository in
BRMS.

*Problem*

To do this we simply ran KIE-CONFIG-CLI commands like add-role-repo and
considered that roles got added to the BRMS. BUT WE ARE UNABLE to associate
the permission (read/write, developer/admin) to our custom roles.
and upon login we are getting error Login Failed : UNAuthorized

*QUESTION * How can we have the ACL implemented in BRMS. Is there something
which we are missing.



--
View this message in context: 
http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] javax.jcr.ReferentialIntegrityException Error while Saving the Rule in Guvnor 5.1.1

2014-08-19 Thread Mark Proctor
Have you tried upgrading to 5.6? It’s unlikely anyone will know what that error 
is below, especially as we’ve moved on from JCR now.

Mark
On 18 Aug 2014, at 13:16, LaKhI ReDdY!!! reddy.laks...@gmail.com 
wrote:

 Hi ,
 
 
 
 I am getting the following error while saving the Rule in Guvnor 5.1.1. Could 
 you please provide suggestions/inputs to resolve the below issue ?  I am 
 using Oracle DB.
 
 
 
 
 
 ERROR 18-08 12:31:22,129 (VersionableItem.java:checkout:637) Error 
 occured while checking out the asset
 
 javax.jcr.ReferentialIntegrityException: Target node 
 298106d4-8786-46ba-b3a3-e9f42d93ac81 of REFERENCE property does not exist
 
 at 
 org.apache.jackrabbit.core.state.SharedItemStateManager$Update.checkReferentialIntegrity(SharedItemStateManager.java:1056)
 
 at 
 org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:574)
 
 at 
 org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1110)
 
 at 
 org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1140)
 
 at 
 org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351)
 
 at 
 org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
 
 at 
 org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
 
 at 
 org.apache.jackrabbit.core.version.VersionManagerImplBase$WriteOperation.save(VersionManagerImplBase.java:463)
 
 at 
 org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerImplBase.java:209)
 
 
 
 
 
 
 
 Regards,
 
 Reddy
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Kie-spring Issues - Not able to autowire sessions

2014-08-19 Thread Ged Byrne
Hi Matt,

This may be a problem with Spring rather than KIE.

Take a look at the following:
  * https://jira.spring.io/browse/SPR-9786
  *
http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/

Regards,


Ged



On 16 August 2014 18:56, mattmadhavan mmadha...@facs.org wrote:

 Hello,
 I have the following kie-spring xml definition to test my custom evaluater.



 I am not able to inject neither the *IN_LIST_KBase *nor the
 /IN_LIST_KSession/ in my test class as follows:



 But i am able to look it up via the applicationContext as follows:


 I am bit confused! Any ideas please?

 Thanks in advance!

 Matt'M



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Drools Mailing List migration to Google Groups

2014-08-19 Thread Mark Proctor
Drools community member,

The Drools team are moving the rules-usesrs and rules-dev list to Google 
Groups. This will allow users to have a combined email and web access to the 
group.
New Forum Information : http://drools.org/community/forum.html (click link to 
view)

The rules-users mailing list has become high volume and it seems natural to 
split the group into those asking for help with setup, configuration, 
installation and administration and those who are asking for help with 
authoring and executing of rules. For this reason rules-users will be split 
into two groups - drools-setup and drools-usage.  

Drools Setup - https://groups.google.com/forum/#!forum/drools-setup (click link 
to subscribe)
Drools Usage - https://groups.google.com/forum/#!forum/drools-usage (click link 
to subscribe)

The rules-dev mailing list will move to drools-development. 

Drools Development - https://groups.google.com/forum/#!forum/drools-development 
(click link to subscribe)

Google Groups limits the number of invitations, so we were unable to send 
invitations. For this reason you will need to manually subscribe. 

The Drools Team___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users