The Drools team also has another product, BRMS, which you might find useful.
It can be used to manage a rules repository, and the latest CR of Seam also has
support for loading rules from one of these repositories (BRMS is built on Seam
too :).
View the original post :
http://www.jboss.com/in
Thanks Shane,
I'll take a look whenever I get some spare cycles. I remember seeing a useful
Eclipse plugin that helps in defining the rules. It's unfortunate there isn't
one for NetBeans. =/
"[EMAIL PROTECTED]" wrote : I recommend the drools reference documentation as a
good starting point fo
I recommend the drools reference documentation as a good starting point for
obtaining a fundamental understanding of the default rules language, that's
pretty much all I've read myself.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091325#4091325
Reply to t
This works awesome though, thanks again!
S.D.
"[EMAIL PROTECTED]" wrote : What does the source for your rule look like? It
should be something like this:
|
| rule IsUserSuperUser
| | no-loop
| | activation-group "permissions"
| | when
| | check: PermissionCheck(name =
Ah thanks, no I'm preety much a noob to drools.
Can you point me to some documentation with some solid examples.?
I was looking at a very detailed grammar document but I'm a bit stretched for
time for delving into that at the moment.
I just checked out the code from cvs and was going to build th
What does the source for your rule look like? It should be something like this:
rule IsUserSuperUser
| no-loop
| activation-group "permissions"
| when
| check: PermissionCheck(name == "rolecheck", action == "super-user",
granted == false)
| Role(name == 'super-user')
| then
Hi Shane,
This didn't work either.
| rich:tab switchType="page" immediate="true"
| rendered="#{s:hasPermission('super-user', null, null)}" label="Agency
| Admin" name="AgencyAdmin" action="AgencyAdmin">
|
|
|
|
|
This tab is rendered as part of th
Great thanks for the information and the workaround. I was't aware that the
hasPermission would also check the role as well. I'll give this a try.
S.D.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091221#4091221
Reply to the post :
http://www.jboss.com/in
Oops, you're absolutely right. In seamspace it works because the role check is
performed within the context of a (rule-based) permission check. I've fixed
this in CVS so that RuleBasedIdentity now checks the security context for the
existence of the role (as well as checking the subject), howe
Alright so I followed the procedures for installing drools and configuring the
security.drl properly based on examples. I'm pretty sure I have it setup
properly since it was complaining when I was experimenting with options in the
security.drl. In anycase I have this restriction to render a tab.
Seam hasn't had a security-config.xml file since version 1.1.1. If you wish to
define a hierarchical relationship between roles, you can write security rules
for this. In fact, the seamspace example does exactly this - here's an example:
rule AdminIsAUser
| salience 10
| no-loop
| wh
Anyone??
Thanks, S.D.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090804#4090804
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090804
___
jboss-user mailing list
jboss-us
"[EMAIL PROTECTED]" wrote : You configure seam security through pages.xml
How do you define the hierarchical relationship amongst roles through the
pages.xml? I don't see anywhere that provides that which is what was provided
in the security-config.xml?
Thanks, S.D.
View the original post :
h
You configure seam security through pages.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090663#4090663
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090663
___
jboss-use
14 matches
Mail list logo