admin rights display
This commit is contained in:
parent
c89a65d5b4
commit
1e3d0771b5
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="flex flex-col h-fit w-full border border-primary rounded-md">
|
||||
<div class="bg-primary p-2 text-white flex flex-row justify-between items-center">
|
||||
<p>{{ user.firstname }} {{ user.lastname }}</p>
|
||||
<p>{{ user.firstname }} {{ user.lastname }} <small v-if="user.permissions_total.admin">(Admin)</small></p>
|
||||
<div class="flex flex-row">
|
||||
<RouterLink
|
||||
v-if="can('update', 'user', 'user')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue