@@ -115,7 +115,7 @@ class RoleUtils {
if ((match = regex.exec(role)) !== null) {
const subject = match[2]
const action = match[3]
- if(subject && action){
+ if(subject){
abilities.push({
action: actionMap[action],
subject: subject.toLowerCase()