stable
Clone or download
Read-only
request #9158: A fatal error can be thrown when checking user's permissions
Dependency should not be hidden You can reproduce the issue with the following code snippet: <?php require_once 'pre.php'; $user_manager = UserManager::instance(); $user = $user_manager->getCurrentUser(); $user->hasPermission('PERM', 'OBJECT', 101); Change-Id: Ic485aa72adf336c24ba94b5a03ecfcec1def46f3
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/user/User.class.php | +3 | −1 | Go to diff View file |