Age | Commit message (Collapse) | Author | |
---|---|---|---|
10 days | Add migrations for admin UI and batch edit privileges/roles | zsloan | |
10 days | Link 'group:data:link-to-group' privilege to the group-leader role. | Frederick Muriuki Muriithi | |
10 days | Add a new privilege: 'group:data:link-to-group' | Frederick Muriuki Muriithi | |
2024-09-25 | feat: add base implementation for hooks system | John Nduli | |
2024-08-19 | Migrations: Add forgot_password_tokens table | Frederick Muriuki Muriithi | |
Create the `forgot_password_tokens` table to be used to enable users change their passwords if they forget. | |||
2024-06-07 | migration: Drop `group_roles` db table. | Frederick Muriuki Muriithi | |
2024-06-06 | migration: Create `resource_roles` db table | Frederick Muriuki Muriithi | |
2024-06-06 | migration: Move role-manipulation privileges from group to resources | Frederick Muriuki Muriithi | |
Attach the role-manipulation privileges to the resource rather than the group, because the roles actually act on the resource itself - thus each role needs to track which resource it acts on. | |||
2024-06-03 | Update db schema to allow user verification. | Frederick Muriuki Muriithi | |
2024-05-09 | Refresh tokens: Create db schema. | Frederick Muriuki Muriithi | |
2023-10-12 | migrations: Create role for dealing with inbredset groups. | Frederick Muriuki Muriithi | |
2023-10-02 | migrations: New migration - InbredSet Resources | Frederick Muriuki Muriithi | |
Provide a new migration to create tables to handle the InbredSet resources. The migration also sets up the resource category and the related privileges. | |||
2023-09-29 | Make migrations directory a package. | Frederick Muriuki Muriithi | |
2023-09-26 | Add `public-view` role. Assign it to users. | Frederick Muriuki Muriithi | |
Add a new `public-view` role to be assigned to all users on all resources that are defined as publicly viewable. Update code to make assign `public-view` role to a newly registered user for all publicly viewable roles. Update the code to assign/revoke the `public-view` role to/from users whenever the resource is toggled to and from being publicly viewable. Ensure that `public-view` is not revoked from system-administrators. Ensure that `public-view` is not revoked from the group administrators of the group that owns the resource. | |||
2023-09-26 | Fix foreign-key refs. Merge tables. | Frederick Muriuki Muriithi | |
* Link the `role_id` field to the `roles` table rather than the `group_roles` table. * Merge the data in the `group_user_roles_on_resources` table in the `user_roles` table to have a single point-of-truth for all user roles on resources. | |||
2023-09-26 | Add a 'system' resource | Frederick Muriuki Muriithi | |
Add a 'system' resource to allow users to have roles they can use to act on the system itself. | |||
2023-09-26 | migrations: Create `group_resources` table. | Frederick Muriuki Muriithi | |
2023-09-26 | Drop `group_id` from resources table | Frederick Muriuki Muriithi | |
Drop the `group_id` from the `resources` table and update all dependent tables to fix FOREIGN KEY constraints to ensure integrity of the data. | |||
2023-09-26 | Add `system` and `group` resource categories. | Frederick Muriuki Muriithi | |
2023-09-26 | Resources refactor: Add `resource_ownership` table | Frederick Muriuki Muriithi | |
New table to link resources to groups, where relevant. | |||
2023-08-04 | Copy over files from GN3 repository. | Frederick Muriuki Muriithi | |