rules externalised from the code

2013-08-07 Thread David Tildesley
Hi, We are looking at building a RBAC capability that evaluates security entitlements for users. The business rule to determine an effective role may be based on a combination of the users attributes. e.g. job title, organisation unit, location, organisation. The rules are not going to be all

Allow the user to choose a role to work within that role context.

2013-08-07 Thread David Tildesley
Hi, A question. A user may have a number of roles when using  ISIS (i.e. org.apache.isis.security.UserMemento has a list of roles 1). How hard would it be to let the user choose which role they want to use for the session. The story: 1. As an administrator of the application I am also a

Re: rules externalised from the code

2013-08-07 Thread David Tildesley
Would JDO query be a candidate (assuming the query text can be associated with an object and loaded from a persistent source at run-time and then executed)? Regards, David. From: David Tildesley davo...@yahoo.co.nz To: users users@isis.apache.org Sent:

Re: rules externalised from the code

2013-08-07 Thread GESCONSULTOR - Óscar Bou
Nice solution! On the latest snapshot is possible by using the new executeSql(...) method in the IsisJdoSupport service. El 07/08/2013, a las 09:37, David Tildesley davo...@yahoo.co.nz escribió: Would JDO query be a candidate (assuming the query text can be associated with an object

Re: rules externalised from the code

2013-08-07 Thread David Tildesley
Hi Oscar, Thanks. That's handy. We'll explore that new feature. Cheers, David. Sent from Yahoo! Mail on Android