1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug CanEditUser doesn't check if Selected User is SuperAdmin

Discussion in 'Resolved Bug Reports' started by Vincent, Jul 12, 2013.

  1. Vincent

    Vincent Well-Known Member

    The CanEditUser check on the Edit link in the Member Card for Administators doesn't check if the User they're trying to enter is a Super Administrator.

    I'm not sure if it's possible to check that, since it's defined in the config.php.

    Anyhow, we'll see :)
  2. Kier

    Kier XenForo Developer Staff Member

    I'm not sure I'd classify this as a bug, as the 'Edit' link can still be used to view privileged info, even if you can't actually edit the super admin.
    shenmuee likes this.
  3. Vincent

    Vincent Well-Known Member

    Not true:
    After clicking the Edit link from a Super Admin Membercard as a normal Admin:
    Sans titre.png
  4. Mike

    Mike XenForo Developer Staff Member

    Regardless, we show this edit link throughout the admin CP where it may not be accessible (for this reason) so I think the behavior is consistent.

Share This Page