at the moment there is a discussion and project about bridges. But I think phpBB3 should be ready for Add Ons or modules. So the local permissions systems needs to be rewritten.
The problem is at MCP. MCP is not able to work with new local permissions. The MCP module system is forced to use $forum_id cause the related functions in auth.php support only $forum_id.
http://www.phpbb.com/community/viewtopi ... &t=1741985
http://www.phpbb.com/community/viewtopi ... 1&t=821035
I think it's needed to add some kind of modules.
So in phpBB3 the core modules can be:
- forum - for the forum permissions
- pm - for private messaging permissions
- gallery - for photo gallery
- calendar - for calendar
- download - for download database
- newsletter - for newsletters
- link - for link databse
- cms - for Content Management System
- and so on ...
So in auth.php
Code: Select all
function acl_get($opt, $f = 0)
Code: Select all
function acl_get($opt, $module = 0, $id = 0)
Code: Select all
function acl_getf($opt, $clean = false)
Code: Select all
function acl_get_module($module = 0, $opt, $clean = false)
Code: Select all
function acl_getf_global($opt)
Code: Select all
function acl_get_module _global($module = 0, $opt)
Code: Select all
function acl_get_list($user_id = false, $opts = false, $forum_id = false)
Code: Select all
function acl_get_list($user_id = false, $module = 0, $opts = false, $id = false)
BTW: Paul also has done some code for a workaround: http://www.phpbb.com/community/viewtopi ... =#p4661135 . But I haven't tested it by now http://www.phpbb.com/community/viewtopi ... #p10567935 cause I haven't used it for my Add On (MOD).
Bye Martin