Skip to content

Refactor role-project relationship to use foreign key instead of string parsing #1100

@mihow

Description

@mihow

Summary

The relationship between permission groups ("roles") and projects is currently handled by a specially crafted name (string) of the group. I would prefer we implement a custom Group model and add a project_id field. This will simplify a number of queries and allow us to delete several functions.

Related Issues

#693 #727

Implementation

Here are known functions and classes that will need to be updated:

...
...
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions