Welcome Guest, Not a member yet? Register   Sign In
Basic Permissions System - Permission Class (on wiki)
#4

[eluser]Stu Green[/eluser]
Hiya,

I apologise for the 'incompleteness' of this class. I kind of just posted hoping people would be able to work it out - it's not really standalone, but more work in progress.

At some point I'll upload the DB Schema and also some examples.

Regarding that method, replace it with just $_POST. All it does is extract XSS cleaned POST variables.

Oh and the key is whatever you want (e.g. forums_edit, forums_add) then you'll need to do an in_array('forums_edit', $permissions) to check. The category can be null.

S


Messages In This Thread
Basic Permissions System - Permission Class (on wiki) - by El Forum - 03-19-2009, 04:06 AM
Basic Permissions System - Permission Class (on wiki) - by El Forum - 03-19-2009, 09:25 AM
Basic Permissions System - Permission Class (on wiki) - by El Forum - 05-25-2009, 01:45 AM
Basic Permissions System - Permission Class (on wiki) - by El Forum - 05-25-2009, 02:36 AM
Basic Permissions System - Permission Class (on wiki) - by El Forum - 05-25-2009, 02:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB