added cases for actions "offline" and "mystories"
This commit is contained in:
parent
18ca823342
commit
fcaf16f869
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ function checkAccess(action, usr, level) {
|
|||
checkIfLoggedIn(this.href(req.action));
|
||||
this.checkAdd(usr, level);
|
||||
break;
|
||||
case "offline" :
|
||||
checkIfLoggedIn(this.href(req.action));
|
||||
this.checkAdd(usr, level);
|
||||
break;
|
||||
case "mystories" :
|
||||
checkIfLoggedIn(this.href(req.action));
|
||||
this.checkAdd(usr, level);
|
||||
break;
|
||||
case "create" :
|
||||
if (!usr && req.data.save)
|
||||
rescueText(req.data);
|
||||
|
|
Loading…
Add table
Reference in a new issue