0.6.0 • Published 3 days ago
gell-org v0.6.0
gell-org
gell-based approach to working with organizational hierarchies
WIP
- most applications deal with some sort of organizational hierarchy
- an organization can simply be groups of users, or can be more complicated
dynamodb is used here as a persistence layer
- could provide other implementations in a "plugin" approach
- logic/sequences for common capabilities
- query
- search
- add
- remove
- update
- move/reclassify
- label
- index?
- authorization?
- does everything have a parent?
- is the parent the ecosystem?
- ITEM ATTRIBUTES
- id: unique identifier of the thing
- parentId: unique identifier of the parent
- type: entity type
- NON INDEXED/QUERYABLE
- name
- title
- description
DynamoDB Persistence
/**
- APPROACH #1
- key is id only
- allows for simple lookup
- indexes for other types of queries
- APPROACH #2
- key is org id and id
- possible id only index
- possible type and id index
*/- this wouldn't work for a universal login
Directory Abstraction
- this package may be further abtracted as a "directory"
- support other hierarchies besides organizations