mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Task List Updated
This commit is contained in:
@@ -42,15 +42,13 @@ return {
|
||||
--'modules.gui.rocket-info',
|
||||
--'modules.gui.science-info',
|
||||
--'modules.gui.warp-list',
|
||||
--'modules.gui.task-list',
|
||||
'modules.gui.task-list',
|
||||
--'modules.gui.player-list',
|
||||
--'modules.commands.debug',
|
||||
'expcore.gui',
|
||||
-- Config Files
|
||||
'config.expcore-commands.auth_admin', -- commands tagged with admin_only are blocked for non admins
|
||||
'config.expcore-commands.auth_roles', -- commands must be allowed via the role config
|
||||
'config.expcore-commands.auth_runtime_disable', -- allows commands to be enabled and disabled during runtime
|
||||
'config.permission_groups', -- loads some predefined permission groups
|
||||
'config.roles', -- loads some predefined roles
|
||||
--'expcore.gui.test' -- loads multiple gui defines to test the gui system
|
||||
}
|
||||
@@ -2,8 +2,11 @@
|
||||
-- @config Tasks
|
||||
|
||||
return {
|
||||
any_user_can_add_new_task = true, --- @setting any_user_can_add_new_task when false only people with edit permission can make new reports
|
||||
user_can_edit_own_tasks = true, --- @setting user_can_edit_own_tasks when false only people with edit permission can edit reports
|
||||
only_admins_can_edit = false, --- @setting only_admins_can_edit true will hide the edit and delete buttons from non (game) admins
|
||||
edit_tasks_role_permission = 'gui/task-list/edit' --- @setting edit_tasks_role_permission value used with custom permission system
|
||||
-- values can be all, admin, expcore.roles, none
|
||||
allow_add_task = 'all', --- @setting allow_add_task dictates who is allowed to add new tasks; values: all, admin, expcore.roles, none
|
||||
expcore_roles_add_permission = 'gui/task-list/add', --- @setting expcore_roles_add_permission if expcore.roles is used then this is the required permission
|
||||
-- values can be all, admin, expcore.roles, none
|
||||
allow_edit_task = 'expcore.roles', --- @setting allow_edit_task dictates who is allowed to edit existing tasks; values: all, admin, expcore.roles, none
|
||||
expcore_roles_edit_permission = 'gui/task-list/edit', --- @setting expcore_roles_edit_permission if expcore.roles is used then this is the required permission
|
||||
user_can_edit_own_tasks = true --- @settings if true then the user who made the task can edit it regardless of the allow_edit_task setting
|
||||
}
|
||||
Reference in New Issue
Block a user