Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify logic of e_user_model::checkAdminPerms() and getperms() #5070

Merged
merged 1 commit into from
Sep 12, 2023

Commits on Sep 9, 2023

  1. Unify logic of e_user_model::checkAdminPerms() and getperms()

    Along with extensive documentation, `getperms()` is now deprecated and
    its replacements now have first-class support:
    * `e_user_model::checkAdminPerms()` and `getperms()` both use
      `e_userperms::simulateHasAdminPerms()`.
    * `e_user_model::checkPluginAdminPerms()` and `getperms('P', …, …)`
      both use `e_userperms::simulateHasPluginAdminPerms()`.
    
    ----
    
    Partially reverts: e107inc@44526b43
    
    Reverts: e107inc@001799cb
    
    Fixes: e107inc#5064
    Deltik committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    dd36fbd View commit details
    Browse the repository at this point in the history