Initial organizational structure

- Add engineering group
- Add vaibhav.pathak user for testing Google OAuth
- Add guest user
This commit is contained in:
Vaibhav Pathak 2026-01-16 12:56:38 +05:30
commit 541866cdd0
2 changed files with 61 additions and 0 deletions

31
README.md Normal file
View File

@ -0,0 +1,31 @@
# 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]
```

30
org.yaml Normal file
View File

@ -0,0 +1,30 @@
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: engineering
description: Engineering team
spec:
type: team
profile:
displayName: Engineering Team
children: []
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: vaibhav.pathak
spec:
profile:
displayName: Vaibhav Pathak
email: vaibhav.pathak@onlinesales.ai
memberOf: [engineering]
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: guest
spec:
profile:
displayName: Guest User
memberOf: [engineering]