[java] [ Main | info ] stage 5: access control["error: access control definition unknown: ",RemoveMe]

[java] ["error: access control definition unknown: ",RemoveMe]

[java] : [user/system] = [2.67s/0.00s]

Authentication code:

section authentication
access control rules {
principal is User with credentials username, password

	rule page *(*){
		true
	}
	
	rule template *(*){
		true
	}
	
	rule action *(*){
		true
	}
	
	pointcut notLoggedIn(){
		page userlogin(),
		page register()
	}
	
	pointcut loggedIn(){
		page userlogout(),
		page user_homepage(*),
		page userlist()
	}
	
	rule pointcut notLoggedIn(){
		principal() == null 
	}
	
	rule pointcut loggedIn(){
		principal() != null 
	}
	
	rule page createProject(){
		principal().admin
	}
	
	rule page manageProject(p: Project){
		(principal().admin || principal() in p.managers)
	}
}
Submitted by Onno Steenbergen on 19 March 2010 at 16:37

On 20 March 2010 at 21:55 Nathan Bruning commented:

Thanks for submitting.
This was a known bug and has been fixed. Please update your webdsl installation (plugin).

Log in to post comments