Require can_create for tag inspection
This commit is contained in:
parent
7485c7f7d7
commit
48a9e0e883
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
},
|
||||
],
|
||||
})
|
||||
@d.permission("can_create")
|
||||
async tagSourceCmd(msg: Message, args: { tag: string; delete?: boolean }) {
|
||||
if (args.delete) {
|
||||
return this.deleteTagCmd(msg, { tag: args.tag });
|
||||
|
|
Loading…
Add table
Reference in a new issue