アプリの権限を確認できるように
This commit is contained in:
parent
d0fff562ea
commit
09e3ddbd57
2 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,12 @@
|
|||
<div class="actions">
|
||||
<button class="_button" @click="revoke(token)"><fa :icon="faTrashAlt"/></button>
|
||||
</div>
|
||||
<details>
|
||||
<summary>{{ $t('details') }}</summary>
|
||||
<ul>
|
||||
<li v-for="p in token.permission" :key="p">{{ $t(`_permissions.${p}`) }}</li>
|
||||
</ul>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -38,5 +38,6 @@ export default define(meta, async (ps, user) => {
|
|||
name: token.name,
|
||||
createdAt: token.createdAt,
|
||||
lastUsedAt: token.lastUsedAt,
|
||||
permission: token.permission,
|
||||
})));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue