![]() |
Ion Auth - Lightweight Auth System based on Redux Auth 2 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Ion Auth - Lightweight Auth System based on Redux Auth 2 (/showthread.php?tid=27435) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-11-2012 [eluser]Doudleptitfou[/eluser] Hi Ben, First of all, I wanted to thank you for the great job you have made with Ion Auth. Discovering the possibilites everyday, and I have to admit it helps me a lot with my projects ! Wanted to point something out though. In your language files, there is a missing tag : Code: $lang['login_unsuccessful_not_active'] = ''; Not sure if it has already pointed out, just wanted to mention it in case. Anyway, here is the translation at least for French (since I am) : Code: $lang['login_unsuccessful_not_active'] = 'Ce compte est inactif. Veuillez contacter votre administrateur.'; Hope it helps ![]() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-11-2012 [eluser]Matalina[/eluser] [quote author="SlasHo" date="1336685350"]How do I set new groups to a user? I'm using this: Code: $post_array = array( you are spelling groups wrong. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-11-2012 [eluser]SlasHo[/eluser] [quote author="Matalina" date="1336742190"][quote author="SlasHo" date="1336685350"]How do I set new groups to a user? I'm using this: Code: $post_array = array( you are spelling groups wrong. [/quote] I did corrected, tried: group, groups with no results. Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-23-2012 [eluser]nl_vinyl[/eluser] I am starting work on an application that will house multiple company's with multiple users per company. Depending on what company they work for and what their rights are different data will be loaded. How suitable is Ion Auth for this? Is there an option for this within Ion Auth? Cause I am guessing the groups are ment for different right sets and not for say company separation? Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-23-2012 [eluser]adityamenon[/eluser] [quote author="nl_vinyl" date="1337760413"]I am starting work on an application that will house multiple company's with multiple users per company. Depending on what company they work for and what their rights are different data will be loaded. How suitable is Ion Auth for this? Is there an option for this within Ion Auth? Cause I am guessing the groups are ment for different right sets and not for say company separation?[/quote] Yeah, it looks like you need another layer of separation on top of the existing groups. I don't imagine it's impossible to modify the library and model to make this work. In addition, if you'd like a hacky solution, you can make different groups that have the company and rights builtin. It will be unwieldy, but you can get started immediately without modifying anything. Like instead of having two companies, MS and Apple with sub-groups like SysAdmins and Programmers; you'll have 4 groups MS_SysAdmins, MS_Programmers, Apple_SysAdmins, Apple_Programmers. Like I said, it's going to be unwieldy, but when things are urgent you gotta do something! Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-23-2012 [eluser]nl_vinyl[/eluser] Yeah I was thinking about that too, only was hoping a less "hacky" solution might be possible ![]() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-23-2012 [eluser]rulin[/eluser] If you have only one company per user you could add an extra column to the user table, or even use the existing Company column. You'd just need to use something like Code: CONO = $this->ion_auth->user()->row()->company Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-25-2012 [eluser]sevengraff[/eluser] Hello friends, just started digging into ion_auth and it looks pretty great. Gonna save me some time. I have a question on expanding data on the users. I need to have information on addresses for all my users. Street/city/state/zip, the usual stuff. Should I add these fields to the users table or make my own table for user data? If I make the fields non-null, will that break inserts when ion_auth creates users? Edit: I have a follow up question. Is it ok to use Code: $this->ion_auth->is_admin() Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-25-2012 [eluser]gwelter[/eluser] Funny, I was just about to go back through this thread to see if the additional-data question has been asked in the past. Have you already looked through some of the back-posts? Regarding where to do security checks, I've been checking reading through a blog post on the subject: http://jondavidjohn.com/blog/2011/01/scalable-login-system-for-codeigniter-ion_auth -Gus Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 05-26-2012 [eluser]AlexMason[/eluser] Emails are not being sent using the register function... it redirects me to the register page and says: Unable to Send Activation Email no other in depth errors or anything... really is pissing me off. |