This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import _ from "../libs/lodash.min.js";
|
||||
import store from "../store";
|
||||
import ayt from "./ayatype";
|
||||
import rights from "./rolerights";
|
||||
import rights from "./bizroles";
|
||||
|
||||
export default {
|
||||
AYATYPE: ayt,
|
||||
@@ -81,6 +81,9 @@ export default {
|
||||
var isSelfOwned=ownerId==vm.$store.state.userId;
|
||||
|
||||
//calculate the effective rights taking into consideration self owned etc
|
||||
role === (store.state.roles & role);
|
||||
|
||||
|
||||
|
||||
// Change: 34
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user