mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 07:42:41 +02:00
Update:Give full permissions to admin users except updating root or viewing root api token #137
This commit is contained in:
@@ -34,11 +34,6 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
asyncData({ store, redirect }) {
|
||||
if (!store.getters['user/getIsRoot']) {
|
||||
redirect('/?error=unauthorized')
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
search: null,
|
||||
|
||||
Reference in New Issue
Block a user