mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add API key scopes for tag_groups (#23634)
This commit is contained in:
committed by
GitHub
parent
e3d3e34e57
commit
607f700c8c
@@ -70,6 +70,22 @@ class ApiKeyScope < ActiveRecord::Base
|
||||
actions: %w[tags#index],
|
||||
},
|
||||
},
|
||||
tag_groups: {
|
||||
list: {
|
||||
actions: %w[tag_groups#index],
|
||||
},
|
||||
show: {
|
||||
actions: %w[tag_groups#show],
|
||||
params: %i[id],
|
||||
},
|
||||
create: {
|
||||
actions: %w[tag_groups#create],
|
||||
},
|
||||
update: {
|
||||
actions: %w[tag_groups#update],
|
||||
params: %i[id],
|
||||
},
|
||||
},
|
||||
categories: {
|
||||
list: {
|
||||
actions: %w[categories#index],
|
||||
|
||||
Reference in New Issue
Block a user