•  
      request #10110 Have a dedicated way to check that a user is site admin
    Infos
    #10110
    Joris MASSON (jmasson)
    2021-07-24 14:32
    2017-03-30 16:47
    10387
    Details
    Have a dedicated way to check that a user is site admin
    As of today, site admin status is given by being project administrator of the project of id 1, "Administration Project"
    Given that removing the "Administration Project" of id 1 is possible AND locks admin out to the point that they need to restore a backup (see request #10097), we should aim to remove the "admin project" and use a safer way to store site admin status.
    This is going to be a long process, there are many checks almost everywhere in the platform for membership of project 1.
    Site admin
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Under implementation
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2017-03-30 16:47
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes