Loading...
 
Skip to main content

Development


You are viewing a reply to Adding tables, custom php scripts, ...

Re: Adding tables, custom php scripts, ...

Hi,

About point https://dev.tiki.org/Hello+World#To_introduce_a_new_permission"Question class="wiki wikinew text-danger tips">16 of this Hello world page ,
would be nice if we could add permission without edit core lib of tiki.

The function get_raw_permissions of usersLib could be just protected instead of private.

If can override this function from another class, its easy to add an addon (why Hello world dont mentios the addons feature of tiki for customize tiki ??? ) that redefine the userlib to the new class..

I would added a "make a wish" if I could sign in dev.tiki.org but i recieve "XMLRPC Error: 2 - Invalid return payload: enable debugging to examine incoming payload" every time that i try to login.

However, Tiki Developers, please, set get_raw_permissions to protected instead of private, so we can override the function, and add permissions withoud edit core lib of tiki. Thanks!!