Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1537

Investigate changing ROLE:PRIV model from M:N to 1:N

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Sentry
    • Labels:

      Description

      Currently roles and privileges have N:M relationship.

      We should consider simplifying it to be 1:M relationship where every privilege belongs to exactly one role and a role has multiple privileges. This is likely to simplify the code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                akolb Alex Kolbasov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: