• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

ragtek delete Errorlog

R

ragtek

Guest
#11
ragtek include errorlog permissions and truncate errorlog sounds also strange:p
choosing class names and product names is one of the hardest things for me^^
 
R

ragtek

Guest
#13
but management would IMHO also include "easy searching" and other stuff and not only prune table and permission check (just got another feature idea for this add-on:D )
 
F

Floris

Guest
#14
As super admin I was able to click it, with the default permission. It already says 'no logs here', without checking the checkbox first in the admins > permissons > view/delete logs.
1.0.2
 
R

ragtek

Guest
#15
As super admin I was able to click it, with the default permission. It already says 'no logs here', without checking the checkbox first in the admins > permissons > view/delete logs.
1.0.2
That's the normal behaviour.

SuperAdmins are allowed to do EVERYTHING, because xenforo returns always TRUE on there perm check:)
PHP:
    /**
    * Determines if the current user has the specified admin permission.
    *
    * @param string $permissionId
    *
    * @return boolean
    */
    public function hasAdminPermission($permissionId)
    {
        if (empty($this->_user['user_id']) || empty($this->_user['is_admin']))
        {
            return false;
        }

        if ($this->isSuperAdmin())
        {
            return true;
        }
..
 
R

ragtek

Guest
#18
Upgrade!!!!!!!! (version 1.1 now available for free @xenforo.com)

Changehistory

1.1

Superadmin and admins with permissions to view the error log will see how many errors are stored on the acp index page