This commit is contained in:
@@ -55,6 +55,14 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
/* Check rights to edit or view here?
|
||||
e.g.
|
||||
if (
|
||||
roles.hasRole(roles.AuthorizationRoles.OpsAdminFull) ||
|
||||
roles.hasRole(roles.AuthorizationRoles.OpsAdminLimited)
|
||||
) {
|
||||
addNavItem(lt.get("Operations"), "cogs", "ops");
|
||||
} */
|
||||
props: {
|
||||
dialogdata: {
|
||||
showeditdialog: false,
|
||||
|
||||
@@ -118,6 +118,15 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
/* Check rights here?
|
||||
e.g.
|
||||
if (
|
||||
roles.hasRole(roles.AuthorizationRoles.OpsAdminFull) ||
|
||||
roles.hasRole(roles.AuthorizationRoles.OpsAdminLimited)
|
||||
) {
|
||||
addNavItem(lt.get("Operations"), "cogs", "ops");
|
||||
}
|
||||
*/
|
||||
this.rowsPerPageText = this.lt("RowsPerPage");
|
||||
},
|
||||
computed: {},
|
||||
|
||||
Reference in New Issue
Block a user