-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UID and GID to the user object from EOS fs (#995)
- Loading branch information
Showing
29 changed files
with
1,051 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enhancement: Add UID and GID to the user object from user package | ||
|
||
Currently, the UID and GID for users need to be read from the local system which | ||
requires local users to be present. This change retrieves that information from | ||
the user and auth packages and adds methods to retrieve it. | ||
|
||
https://github.com/cs3org/reva/pull/995 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "auth" | ||
linkTitle: "auth" | ||
weight: 10 | ||
description: > | ||
Configuration for the auth service | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "manager" | ||
linkTitle: "manager" | ||
weight: 10 | ||
description: > | ||
Configuration for the manager service | ||
--- |
50 changes: 50 additions & 0 deletions
50
docs/content/en/docs/config/packages/auth/manager/oidc/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: "oidc" | ||
linkTitle: "oidc" | ||
weight: 10 | ||
description: > | ||
Configuration for the oidc service | ||
--- | ||
|
||
# _struct: config_ | ||
|
||
{{% dir name="insecure" type="bool" default=false %}} | ||
Whether to skip certificate checks when sending requests. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/auth/manager/oidc/oidc.go#L50) | ||
{{< highlight toml >}} | ||
[auth.manager.oidc] | ||
insecure = false | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="issuer" type="string" default="" %}} | ||
The issuer of the OIDC token. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/auth/manager/oidc/oidc.go#L51) | ||
{{< highlight toml >}} | ||
[auth.manager.oidc] | ||
issuer = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="id_claim" type="string" default="sub" %}} | ||
The claim containing the ID of the user. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/auth/manager/oidc/oidc.go#L52) | ||
{{< highlight toml >}} | ||
[auth.manager.oidc] | ||
id_claim = "sub" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="uid_claim" type="string" default="" %}} | ||
The claim containing the UID of the user. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/auth/manager/oidc/oidc.go#L53) | ||
{{< highlight toml >}} | ||
[auth.manager.oidc] | ||
uid_claim = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="gid_claim" type="string" default="" %}} | ||
The claim containing the GID of the user. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/auth/manager/oidc/oidc.go#L54) | ||
{{< highlight toml >}} | ||
[auth.manager.oidc] | ||
gid_claim = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.