Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extraneous punctuation #304

Merged
merged 1 commit into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/operator/did_meta.md
Expand Up @@ -91,7 +91,7 @@ against a particular regex while other might accept all possible keys.

## How to configure which metadata plugin to use

Configuration options for Metadata are::
Configuration options for Metadata are:

```python
[metadata]
Expand Down
26 changes: 13 additions & 13 deletions docs/user/using_the_admin_client.md
Expand Up @@ -9,36 +9,36 @@ by any user, but the set methods require some admin privileges. See the

## Account and identity methods

To create a new account::
To create a new account:

```bash
$ rucio-admin account add --type USER --email jdoe@blahblih.com jdoe
```

You can choose different types in the list USER, GROUP, SERVICE. Different
policies/permissions can be set depending on the account type. Once the account
is created, you need to create and attach an identity to this account::
is created, you need to create and attach an identity to this account:

```bash
$ rucio-admin identity add --type X509 \
--id "CN=jdoe,OU=Users,OU=Organic Units,DC=blih,DC=blah" \
--email jdoe@blahblih.com --account jdoe
```

The list of possible identity types is X509, GSS, USERPASS, SSH::
The list of possible identity types is X509, GSS, USERPASS, SSH:

```bash
$ rucio-admin account list-identities jdoe
Identity: CN=jdoe,OU=Users,OU=Organic Units,DC=blih,DC=blah, type: X509
```

You can set attributes to the users::
You can set attributes to the users:

```bash
$ rucio-admin account add-attribute --key country --value xyz jdoe
```

And list these attributes::
And list these attributes:

```bash
$ rucio-admin account list-attributes jdoe
Expand All @@ -50,14 +50,14 @@ And list these attributes::
```

You can also list all the accounts matching a certain attribute using the filter
option::
option:

```bash
$ rucio-admin account list --filters "country=xyz"
jdoe
```

To set the quota for one account on a given RSE::
To set the quota for one account on a given RSE:

```bash
$ rucio-admin account set-limits jdoe SITE2_SCRATCH 10000000000000
Expand All @@ -68,15 +68,15 @@ To set the quota for one account on a given RSE::

## Scope methods

To create a new scope::
To create a new scope:

```bash
$ rucio-admin scope add --account jdoe --scope user.jdoe
```

Only the owner of the scope or privileged users can write into the scope.

To list all the scopes::
To list all the scopes:

```bash
$ rucio-admin scope list
Expand All @@ -86,19 +86,19 @@ To list all the scopes::

## RSE methods

To create a new RSE::
To create a new RSE:

```bash
$ rucio-admin rse add SITE2_SCRATCH
```

To add a RSE attribute::
To add a RSE attribute:

```bash
$ rucio-admin rse set-attribute --rse SITE2_SCRATCH --key country --value xyz
```

To check an RSE attribute::
To check an RSE attribute:

```bash
$ rucio-admin rse get-attribute SITE2_SCRATCH
Expand All @@ -107,7 +107,7 @@ To check an RSE attribute::

## Replica methods

To declare bad (i.e. corrupted or lost replicas)::
To declare bad (i.e. corrupted or lost replicas):

```bash
$ rucio-admin replicas declare-bad --reason "File corrupted" https//path/to/lost/file
Expand Down