diff --git a/ayanova/src/api/authorizationroles.js b/ayanova/src/api/authorizationroles.js index afc2b10c..04e2f05a 100644 --- a/ayanova/src/api/authorizationroles.js +++ b/ayanova/src/api/authorizationroles.js @@ -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 // ​ diff --git a/ayanova/src/api/rolerights.js b/ayanova/src/api/bizroles.js similarity index 100% rename from ayanova/src/api/rolerights.js rename to ayanova/src/api/bizroles.js