src/Chronos/Scaffolding/app/Traits/ChronosUser.php
public function hasOneOfPermissions($permissions)
    {
        if ($this->hasRole('root'))
            return true;

        $has = false;

        foreach ($permissions as $permission) {
            $has = $has || $this->hasPermission($permission);
        }

        return $has;
    }
public function hasOneOfPermissions($permissions)
    {
        if ($this->hasRole('root'))
            return true;

        $has = false;

        foreach ($permissions as $permission) {
            $has = $has || $this->hasPermission($permission);
        }

        return $has;
    }
public function hasOneOfPermissions ( $ permissions ) { if ( $ this -> hasRole ( 'root' ) ) return true ; $ has = false ; foreach ( $ permissions as $ permission ) { $ has = $ has || $ this -> hasPermission ( $ permission ) ; } return $ has ; }
Determine if the user  has one of the given permissions.

@param $permissions
@return bool
Determine if the user has one of the given permissions .