Skip to content

Commit 6d5f7a0

Browse files
committed
Use common ACL checking method
1 parent 0f63950 commit 6d5f7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DFIQ/EditDFIQObject.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export default {
694694
return FORM_METADATA[this.localObject.type].rules;
695695
},
696696
hasOwnerPerms() {
697-
return this.user.admin || this.localObject.acls[this.user.username].role & 7;
697+
return this.userStore.hasOwnerPerms(this.localObject);
698698
}
699699
},
700700
watch: {

0 commit comments

Comments
 (0)