This commit is contained in:
Naoki Takezoe
2021-02-20 17:40:30 +09:00
committed by GitHub
parent 0bc77ce453
commit 9e891a0168

View File

@@ -2,7 +2,7 @@ Authentication in Controller
========
GitBucket provides many [authenticators](https://github.com/gitbucket/gitbucket/blob/master/src/main/scala/gitbucket/core/util/Authenticator.scala) to access controlling in the controller.
For example, in the case of `RepositoryViwerController`,
For example, in the case of `RepositoryViewerController`,
it references three authenticators: `ReadableUsersAuthenticator`, `ReferrerAuthenticator` and `CollaboratorsAuthenticator`.
```scala
@@ -57,4 +57,4 @@ Currently, GitBucket provides below authenticators:
|ReadableUsersAuthenticator|readableUsersOnly|Allows only signed in users which can access the repository. |
|GroupManagerAuthenticator |managersOnly |Allows only the group managers. |
Of course, if you make a new plugin, you can define a your own authenticator according to requirement in your plugin.
Of course, if you make a new plugin, you can define a your own authenticator according to requirement in your plugin.