更改:访问菜单的权限

This commit is contained in:
yystopf 2024-04-07 14:38:52 +08:00
parent 7440a79cc4
commit 03c9df3f92
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
class Api::V1::Projects::DatasetsController < Api::V1::BaseController
before_action :require_member_above
before_action :require_public_and_member_above, only: [:show]
before_action :require_member_above, only: [:create, :update]
before_action :find_dataset, only: [:update, :show]
before_action :check_menu_authorize