- Add engineering group - Add vaibhav.pathak user for testing Google OAuth - Add guest user
32 lines
735 B
Markdown
32 lines
735 B
Markdown
# OSMOS Organizational Structure
|
|
|
|
This repository contains the organizational structure for Backstage:
|
|
- User entities
|
|
- Group entities
|
|
- Team hierarchies
|
|
|
|
## Adding Users
|
|
|
|
To add new users for Google OAuth authentication:
|
|
|
|
1. Edit `org.yaml`
|
|
2. Add a new User entity with `metadata.name` matching the email local part (before @)
|
|
- For email `john.doe@onlinesales.ai`, use `metadata.name: john.doe`
|
|
3. Commit and push changes
|
|
4. Backstage will automatically sync within a few minutes
|
|
|
|
## Example User Entity
|
|
|
|
```yaml
|
|
---
|
|
apiVersion: backstage.io/v1alpha1
|
|
kind: User
|
|
metadata:
|
|
name: john.doe # Must match email local part
|
|
spec:
|
|
profile:
|
|
displayName: John Doe
|
|
email: john.doe@onlinesales.ai
|
|
memberOf: [engineering]
|
|
```
|