• 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

  • Thread starter Thread starter ragtek
  • Start date Start date
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^^
 
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 )
 
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
 
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;
        }
..
 
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
 
Back
Top Bottom