Skip to content

Commit e9c469e

Browse files
committed
Update relative links
1 parent 8bbcb38 commit e9c469e

10 files changed

+62
-34
lines changed

docs/Authentication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
This page describes how to authenticate requests to the COMS API. The [Authentication Modes](Configuration#authentication-modes) must be enabled in the COMS configuration.
1+
This page describes how to authenticate requests to the COMS API. The [Authentication Modes](Configuration.md#authentication-modes) must be enabled in the COMS configuration.
22

33
**Note:** The BC Gov Hosted COMS service only allows OIDC Authentication using JWT's issued by the [Pathfinder SSO `standard` keycloak realm](https://github.com/bcgov/sso-keycloak/wiki#standard-service)).
44

55
## OIDC Authentication
66

7-
With [OIDC mode](Configuration#oidc-keycloak) enabled, requests to the COMS API can be authenticated using a **User ID token** (JWT) issued by an OIDC authentication realm. The JWT should be added in an Authorization header (type `Bearer` token).
7+
With [OIDC mode](Configuration.md#oidc-keycloak) enabled, requests to the COMS API can be authenticated using a **User ID token** (JWT) issued by an OIDC authentication realm. The JWT should be added in an Authorization header (type `Bearer` token).
88

99
COMS will only accept JWT's issued by one OIDC realm (specified in the COMS config). JWT's are typically issued to an application and saved to a user's browser when he/she signs-in to a website through the [Authorization Code Flow](https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth). Both the website (client app) and the instance of COMS must be [configured to use the same OIDC authentication realm](https://github.com/bcgov/common-object-management-service/blob/master/app/README.md#keycloak-variables) in order for the JWT to be valid.
1010

@@ -31,12 +31,12 @@ COMS uses the redirect flow by default because it avoids unnecessary network hop
3131

3232
## Basic Auth
3333

34-
If [Basic Auth Mode](Configuration#basic-auth) is enabled in your COMS instance, requests to the COMS API can be authenticated using an HTTP Authorization header (type `Basic`) containing the username and password configured in COMS.
34+
If [Basic Auth Mode](Configuration.md#basic-auth) is enabled in your COMS instance, requests to the COMS API can be authenticated using an HTTP Authorization header (type `Basic`) containing the username and password configured in COMS.
3535

3636
This mode offers more direct access for a 'service account' authorized in the scope of the application rather than for a specific user and by-passes the COMS object/bucket permission model.
3737

3838
Basic Auth mode is not available on the BC Gov hosted COMS service.
3939

4040
## Unauthenticated Mode
4141

42-
[Unauthenticated Mode](Configuration#unauthenticated-auth) configuration is generally recommended when you expect to run COMS in a highly secured network environment and do not have concerns about access control to objects as you have another application handling that already.
42+
[Unauthenticated Mode](Configuration.md#unauthenticated-auth) configuration is generally recommended when you expect to run COMS in a highly secured network environment and do not have concerns about access control to objects as you have another application handling that already.

docs/Buckets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
### Configuring Buckets
33

4-
- COMS is [configured with a 'default' bucket](Configuration#object-storage). Various object management endpoints will use this bucket if no `bucketId` parameter is provided. (**Note:** the default bucket fall-back behaviour is not available in the BC Gov Hosted COMS service.)
4+
- COMS is [configured with a 'default' bucket](Configuration.md#object-storage). Various object management endpoints will use this bucket if no `bucketId` parameter is provided. (**Note:** the default bucket fall-back behaviour is not available in the BC Gov Hosted COMS service.)
55

66
- Additional buckets can be added to the COMS system using the [createBucket](https://coms.api.gov.bc.ca/api/v1/docs#tag/Bucket/operation/createBucket) endpoint.
77

8-
- When a bucket is created, if the createBucket API request is authenticated with a User ID token (JWT), that user will be granted all [5 permissions](Permissions#permission-codes). Bucket Permissions can be granted to other users ([bucketAddPermissions](https://coms.api.gov.bc.ca/api/v1/docs#tag/Permission/operation/bucketAddPermissions)), if the request is authenticated with a JWT for a user with `MANAGE` permission.
8+
- When a bucket is created, if the createBucket API request is authenticated with a User ID token (JWT), that user will be granted all [5 permissions](Permissions.md#permission-codes). Bucket Permissions can be granted to other users ([bucketAddPermissions](https://coms.api.gov.bc.ca/api/v1/docs#tag/Permission/operation/bucketAddPermissions)), if the request is authenticated with a JWT for a user with `MANAGE` permission.
99

10-
If you are self-hosting COMS you can also manage permissions for any object or bucket by using these endpoints with [basic authentication](Authentication#basic-auth).
10+
If you are self-hosting COMS you can also manage permissions for any object or bucket by using these endpoints with [basic authentication](Authentication.md#basic-auth).
1111

1212
### Using the Bucket **Key**
1313

docs/Endpoint-Notes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Object endpoints directly influence and manipulate S3 objects and information in
3535

3636
Metadata operation endpoints directly focus on the manipulation of metadata of S3 Objects. Each endpoint will create a copy of the object with the modified metadata attached.
3737

38-
More details found here: [Metadata and Tags](Metadata-Tag)
38+
More details found here: [Metadata and Tags](Metadata-Tag.md)
3939

4040
### Tag
4141

4242
Tag operation endpoints directly focus on the manipulation of tags of S3 Objects. Unlike Metadata, Tags can be modified without the need to create new versions of the object.
4343

44-
More details found here: [Metadata and Tags](Metadata-Tag)
44+
More details found here: [Metadata and Tags](Metadata-Tag.md)
4545

4646
### Versions
4747

@@ -51,7 +51,7 @@ Version specific operations focus on listing and discovering versioning informat
5151

5252
Permission operation endpoints directly focus on associating users to objects with specific permissions. All of these endpoints require a database to function. Existing permissions can be searched for using `GET /permission/object` and `GET /permission/bucket`, and standard create, read and delete operations for permissions exist to allow users to modify access control for specific objects they have management permissions over.
5353

54-
More details found here: [Permissions](Permissions)
54+
More details found here: [Permissions](Permissions.md)
5555

5656
## Sync
5757

docs/Hosted-Service-Onboarding.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ Some important aspects of the hosted service to consider:
1313

1414
- Object Storage buckets must be obtained by the client. Any S3 compatible bucket will work (for example: AWS S3 and Minio). OCIO provide a low-cost [object Storage service](https://ssbc-client.gov.bc.ca/services/ObjectStorage/overview.htm). NRM clients can request a bucket through the [Optimization Team](https://apps.nrs.gov.bc.ca/int/confluence/display/OPTIMIZE/NRM+Object+Storage+Service).
1515

16-
- Once provisioned, you can add your bucket to COMS using the [createBucket](https://coms.api.gov.bc.ca/api/v1/docs#tag/Bucket/operation/createBucket) endpoint. See: [Managing Buckets](Buckets).
16+
- Once provisioned, you can add your bucket to COMS using the [createBucket](https://coms.api.gov.bc.ca/api/v1/docs#tag/Bucket/operation/createBucket) endpoint. See: [Managing Buckets](Buckets.md).
1717

1818
- **Bucket credentials** (`Access Key ID` and `Secret Access Key`) are stored in the database as encrypted strings. Encryption is done by NodeJS's internal `crypto` library. The key for encryption is assigned to a `SERVER_PASSPHRASE` environment variable, and is only available inside the scope of the COMS app container.
1919

2020
### Privacy Controls
2121

22-
- The stricter [Privacy Controls](Configuration#privacy-controls) setting is enabled in the Hosted service (requires `READ` permission on bucket or object to discover or access the file and related data). This removes the abiility to search for objects that you don't have permissions for.
22+
- The stricter [Privacy Controls](Configuration.md#privacy-controls) setting is enabled in the Hosted service (requires `READ` permission on bucket or object to discover or access the file and related data). This removes the abiility to search for objects that you don't have permissions for.
2323

2424
### Additional features
2525

2626
- **BCBox Integration:** Using the Hosted COMS service has the added benefit of being able to integrate your application with [BCBox](https://bcbox.nrs.gov.bc.ca/) - a hosted drop-box type interface for sharing files.
2727

28-
- A **Synchronization** feature is [coming soon](Product-Roadmap) that will allow COMS to manage objects that were in the bucket or are handled outside of the COMS API.
28+
- A **Synchronization** feature is [coming soon](Product-Roadmap.md) that will allow COMS to manage objects that were in the bucket or are handled outside of the COMS API.
2929

3030
### Environments
3131

@@ -39,4 +39,4 @@ Some important aspects of the hosted service to consider:
3939
***
4040
<br />
4141

42-
**Note:** Please also review the [Hosting Considerations](Hosting-Considerations) page, and reasons to [self-host](Self-Hosting-COMS).
42+
**Note:** Please also review the [Hosting Considerations](Hosting-Considerations.md) page, and reasons to [self-host](Self-Hosting-COMS.md).

docs/Hosting-Considerations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Feature Comparison:
77
| &nbsp; Keycloak Realm | &nbsp; SSO '[Standard Realm](https://github.com/bcgov/sso-keycloak/wiki#standard-service)' | &nbsp; any OIDC realm
88
| &nbsp; IDP support | &nbsp; `IDIR`<br />&nbsp; `Basic BCeID`<br />&nbsp; `Business BCeID` | &nbsp; Configurable
99
| &nbsp; [BCBox](https://bcbox.nrs.gov.bc.ca/) integration | <ul><li>[x] </li></ul> | <ul><li>[ ] </li></ul>
10-
| &nbsp; Hosting Platform | &nbsp; [OpenShift](Architecture-Hosted#infrastructure) | &nbsp; [Source Code](https://github.com/bcgov/common-object-management-service/)<br />&nbsp; [Docker](https://hub.docker.com/r/bcgovimages/common-object-management-service/)<br />&nbsp; [OpenShift](Architecture-Hosted#infrastructure)
10+
| &nbsp; Hosting Platform | &nbsp; [OpenShift](Architecture-Hosted.md#infrastructure) | &nbsp; [Source Code](https://github.com/bcgov/common-object-management-service/)<br />&nbsp; [Docker](https://hub.docker.com/r/bcgovimages/common-object-management-service/)<br />&nbsp; [OpenShift](Architecture-Hosted.md#infrastructure)
1111
| &nbsp; Database Custodians | &nbsp; Us | &nbsp; You
1212
| &nbsp; Object Storage Custodians | &nbsp; You | &nbsp; You
1313
| &nbsp; Multi-bucket support | <ul><li>[x] </li></ul> | <ul><li>[x] </li></ul>
14-
| &nbsp; Strict [Privacy mode](Configuration#privacy-controls) | <ul><li>[x] </li></ul> | &nbsp; Configurable
15-
| &nbsp; [No-Auth mode](Configuration#unauthenticated)| <ul><li>[ ] </li></ul> | &nbsp; Configurable
14+
| &nbsp; Strict [Privacy mode](Configuration.md#privacy-controls) | <ul><li>[x] </li></ul> | &nbsp; Configurable
15+
| &nbsp; [No-Auth mode](Configuration.md#unauthenticated)| <ul><li>[ ] </li></ul> | &nbsp; Configurable
1616
| &nbsp; Custom configuration options | <ul><li>[ ] </li></ul> | <ul><li>[x] </li></ul>

docs/index.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,35 @@ A microservice for managing access control to S3 Objects
66

77
**API User Guide:**
88

9-
- [Authentication](Authentication)
10-
- [Endpoint Notes](Endpoint-Notes)
11-
- [Permissions](Permissions)
12-
- [Metadata and Tags](Metadata-Tag)
13-
- [Managing buckets](Buckets)
14-
- [Synchronization](Synchronization)
15-
- [Use-Case Examples](Use-Case-Examples)
9+
- [Authentication](Authentication.md)
10+
- [Endpoint Notes](Endpoint-Notes.md)
11+
- [Permissions](Permissions.md)
12+
- [Metadata and Tags](Metadata-Tag.md)
13+
- [Managing buckets](Buckets.md)
14+
- [Synchronization](Synchronization.md)
15+
- [Use-Case Examples](Use-Case-Examples.md)
1616

1717
**Deployment Guide:**<br />
1818
Install COMS in your own environment for extra features
1919

20-
- [Self-Hosting COMS](Self-Hosting-COMS)
21-
- [Architecture](Architecture)
22-
- [Database](Architecture#database-structure)
23-
- [Code Design](Architecture#code-design)
24-
- [Configuration Options](Configuration)
25-
- [Testing](Testing)
20+
- [Self-Hosting COMS](Self-Hosting-COMS.md)
21+
- [Architecture](Architecture.md)
22+
- [Database](Architecture.md#database-structure)
23+
- [Code Design](Architecture.md#code-design)
24+
- [Configuration Options](Configuration.md)
25+
- [Testing](Testing.md)
2626

2727
**The Hosted Service:**<br />
2828
Find out if the BC Gov Hosted COMS service will work for you?
2929

30-
- [Hosted Service Onboarding](Hosted-Service-Onboarding)
31-
- [Hosting Considerations](Hosting-Considerations)
32-
- [Hosted Service Architecture](Architecture-Hosted)
30+
- [Hosted Service Onboarding](Hosted-Service-Onboarding.md)
31+
- [Hosting Considerations](Hosting-Considerations.md)
32+
- [Hosted Service Architecture](Architecture-Hosted.md)
3333

3434

3535
<br />
3636

37-
**[Product Roadmap](Product-Roadmap)**
37+
**[Product Roadmap](Product-Roadmap.md)**
3838

3939
***
4040

docs/sample pages/about-us.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# About us
2+
3+
## Suggested Content
4+
5+
Introduce your team or project for a more in-depth understanding for your users
6+
7+

docs/sample pages/configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Configuration
2+
3+
## Suggested Content
4+
5+
* Explain configuration/customization requirements, if necessary
6+
* Guide on tailoring the service to specific needs
7+
* Provide instructions for integrating with other systems if needed

docs/sample pages/getting-started.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Getting started
2+
3+
## Suggested Content
4+
* Provide step-by-step instructions for system setup
5+
* List prerequisites and system requirements
6+
* Determine if visual aids are necessary for better comprehension, keeping in mind to [create accessible content](https://digital.gov.bc.ca/wcag/home/intro/) and review the [accessibility and inclusion toolkit](https://www2.gov.bc.ca/gov/content/home/accessible-government/toolkit)
7+
* Address common issues and provide troubleshooting solutions

docs/sample pages/tips-and-tricks.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Tips and tricks
2+
3+
## Suggested Content
4+
5+
* Contribute to the overall success of a development project
6+
* Promote efficiency, code quality, collaboration, security, and adaptability
7+
* Ensure the knowledge base required aligns with your entire audience; assess if it suits their needs

0 commit comments

Comments
 (0)