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

[eluser]pankaj[/eluser]
[quote author="haloweb" date="1237475201"]Hey guys,

Ok i've uploaded my Permission Class on the wiki. Thought I'd create a new discussion for it.

When I have more time I'll upload some more example controllers and view files, the wiki isn't really complete, but at least the library is there.

You will need to put the permission keys in to the DB manually, or you could create a page that adds these keys. But basically just add in the permissions table, the name of the permission, the key and category is optional.

Then in your controller (see example) you can use an IF statement to say if that new key is in the array or not.

Enjoy, and if anyone has any feedback or ways to improve it feel free.

Here it is http://codeigniter.com/wiki/Permission_Class/


Cheers[/quote]

Hi, I want to use this class but it has many bugs and methods like $post = $this->CI->easysite->get_post(); is used which is not define in class do you have its new version.

do you have its manual to explain how it work?

and please explain what is meaning or 'key' and 'category' in permission table.


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