You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DISABLE_ACCESS_TOKENS parameter for disabling access tokens added
Access tokens are hardcoded and cannot be disabled (i.e. when
owner doesn't want this kind of authentication).
This mod introduces new DISABLE_ACCESS_TOKENS parameter in app.ini
section [security]. When disabled (default when parameter is not
present) gitea behaves as without this mod (access tokens feature
is available). When enabled, access tokens feature and its UI
elements are not avaiable.
This mod also hides those areas on Settings/Applications page
that are disabled in config and hides menu link to Applications
page if all its areas are disabled in config.
Related: go-gitea#13129
Author-Change-Id: IB#1115254
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -498,6 +498,7 @@ Certain queues have defaults that override the defaults set in `[queue]` (this o
498
498
Gitea instance and perform arbitrary actions in the name of the Gitea OS user.
499
499
This maybe harmful to you website or your operating system.
500
500
-`DISABLE_WEBHOOKS`: **false**: Set to `true` to disable webhooks feature.
501
+
-`DISABLE_ACCESS_TOKENS`: **false**: Set to `true` to disable access tokens feature.
501
502
-`ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET`: **true**: Set to `false` to allow local users to push to gitea-repositories without setting up the Gitea environment. This is not recommended and if you want local users to push to Gitea repositories you should set the environment appropriately.
502
503
-`IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.
503
504
-`INTERNAL_TOKEN`: **\<random at every install if no uri set\>**: Secret used to validate communication within Gitea binary.
0 commit comments