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