RobertHeim / phpbb-ext-topictags

phpBB 3.3 extension, that adds the ability to tag topics with key words.
GNU General Public License v2.0
29 stars 19 forks source link

call to auth->acl_get (main_listener.php) #81

Closed pierrdu closed 8 years ago

pierrdu commented 8 years ago

Your line if ($this->auth->acl_get(permissions::USE_TAGS, permissions::ADMIN_EDIT_TAGS, permissions::MOD_EDIT_TAGS)) is incorrect. If you want to test several permissions, you should call acl_get**s**. The current code, as a matter of fact, only tests the permission of the current user and never those of administrators or even moderators.