added cases for actions "open" and "mypolls"

This commit is contained in:
Robert Gaggl 2003-10-15 19:57:10 +00:00
parent 21076f4d18
commit 18ca823342

View file

@ -13,6 +13,16 @@ function checkAccess(action, usr, level) {
var url = this._parent.href();
this.checkAdd(usr, level);
break;
case "open" :
checkIfLoggedIn(this.href(req.action));
var url = this._parent.href();
this.checkAdd(usr, level);
break;
case "mypolls" :
checkIfLoggedIn(this.href(req.action));
var url = this._parent.href();
this.checkAdd(usr, level);
break;
case "create" :
checkIfLoggedIn();
var url = this.href();