mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
更改:访问菜单的权限
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user