Welcome Guest, Not a member yet? Register   Sign In
Auth System / Library with better Groups feature
#1

[eluser]ikk0[/eluser]
Hi,
I am searching an auth library which covers a more advanced groups feature.
I need to say, for example, user1 is in group "test1", "test2" and "test3". I don't want the user to be in only one group, I want him in more groups.
Is there any Auth System for CI like that?
Greetings
Sebastian
#2

[eluser]Tom Glover[/eluser]
Welcome to the forums, Redux Auth allows for groups so does BackEnd Pro, both can be found in the ignited code section.

BE pro is for a developer who is looking for a complete back end template with easy authentication front-end or back-end.

Redux Auth allows you to integrate secure authentication in a way that you require, but you may have to built the CRUD forms to manage the groups in this one.
#3

[eluser]ikk0[/eluser]
Thanks for the warm welcome ;-)

I already tried Redux Auth and UserAuth.

Redux Auth was pretty nice, but I don't see any option to define multiple groups for a user there.
It's pretty built for one group, isn't it? Or do I understand wrong?

`group_id` tinyint(3) unsigned NOT NULL default '0',

This seems like it's for one group per user only..?

Greetings
Sebastian
#4

[eluser]ikk0[/eluser]
Maybe it's better if I say: I want to give some user special rights, one user may edit news and add news, the other one may only view news.. but another one may delete news only. You understand?
#5

[eluser]Tom Glover[/eluser]
Have a look at BE pro that allows that sort of thing, but you already have back end designed through BEpro.
#6

[eluser]Popcorn[/eluser]
Hi akk0, thanks for trying [url="http://ellislab.com/forums/viewthread/72525/"]Redux Authentication[/url].

At the moment multiple groups is not an option. Depending on your programming skills you could modify the table to use a glob type then use a serialised array to store multiple groups, then you would only need a little code editing within the library itself.

However, I think something like [url="http://ellislab.com/forums/viewthread/70197/"]khACL[/url] would be more suited for the power you are looking for.
#7

[eluser]esra[/eluser]
[quote author="Popcorn" date="1213306087"]However, I think something like [url="http://ellislab.com/forums/viewthread/70197/"]khACL[/url] would be more suited for the power you are looking for.[/quote]

Agree with this. You can use the phpGACL library docs to get an good understanding of how khACL works. This is an extremely fine-grained solution to ACL. khACL AXOs are handled a bit differently than phpGACL, but the basic concept remains the same.

phpGACL requires ADODB for database abstraction, but khACL runs under CI's database abstraction layer.




Theme © iAndrew 2016 - Forum software by © MyBB