Created
July 15, 2011 08:06
-
-
Save nickvergessen/1084291 to your computer and use it in GitHub Desktop.
ticket/10252
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php | |
index 5564de2..dc289e6 100644 | |
--- a/phpBB/includes/auth.php | |
+++ b/phpBB/includes/auth.php | |
@@ -349,6 +349,13 @@ class auth | |
/** | |
* Get permission listing based on user_id/options/forum_ids | |
+ * | |
+ * Be carefully when using this function with permissions a_, m_, u_ and f_ ! | |
+ * It may not work correct. When a user-group grands an a_* permission f.e. a_user, | |
+ * but the users permission are Never for this a_user, the user has actual no a_ | |
+ * permission. But the user will still be listed as having the a_ permission. | |
+ * | |
+ * For more information see: http://tracker.phpbb.com/browse/PHPBB3-10252 | |
*/ | |
function acl_get_list($user_id = false, $opts = false, $forum_id = false) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment