Re: searching users table with token = NULL

2013-05-13 Thread Chris
is smart > enough to recognise equality or inequality with nulls, so you could do the > following: > > $this->paginate = array('User' => array('conditions' => > array('User.token ' . $this->data['User']['activated

Re: searching users table with token = NULL

2013-05-10 Thread Reuben
LL ))); Essentially, this determines what operator to use, depending on User.activated. A value of yes results in equality with null, otherwise inequality with null, and CakePHP will correctly result in User.token IS NULL or User.token IS NOT NULL. Regards Reuben Helms On Thursday, 9 May 20

Re: searching users table with token = NULL

2013-05-10 Thread euromark
http://stackoverflow.com/questions/16470035/searching-table-for-null-values Am Donnerstag, 9. Mai 2013 12:37:15 UTC+2 schrieb Chris: > > hi guys,... can anyone help please,... > > I trying to search users table werther's user token IS NULL or NOT (what > it means is user

searching users table with token = NULL

2013-05-09 Thread Chris
hi guys,... can anyone help please,... I trying to search users table werther's user token IS NULL or NOT (what it means is user activated, confirmed or not) having some problem with coding,... $this->paginate = array('User' => array('conditions' =

Re: Authentication using external users table

2011-05-26 Thread emmexx
On 24 Mag, 14:51, Rob Maurer wrote: > Then it would seem the problem is adding authentication for users from > another database table to existing CakePHP Auth/ACL. That's uncharted > territory for me. One idea: That is unchartered territory for me too. The problem is that the solution you sugge

Re: Authentication using external users table

2011-05-24 Thread Rob Maurer
f User.group_id Rob On May 22, 5:12 pm, emmexx wrote: > On 22 Mag, 22:15, RobMaurer wrote: > > > If I understand your needs as written, it would seem simpler to stay > > with CakePHP Auth/ACL and create a second tier of permissions for a > > subset of Users who are als

Re: Authentication using external users table

2011-05-22 Thread emmexx
On 22 Mag, 22:15, Rob Maurer wrote: > If I understand your needs as written, it would seem simpler to stay > with CakePHP Auth/ACL and create a second tier of permissions for a > subset of Users who are also in the Users table. That would handle > authentication for you (the way yo

Re: Authentication using external users table

2011-05-22 Thread Rob Maurer
If I understand your needs as written, it would seem simpler to stay with CakePHP Auth/ACL and create a second tier of permissions for a subset of Users who are also in the Users table. That would handle authentication for you (the way you're already doing) and you would grant those Users a

Authentication using external users table

2011-05-21 Thread emmexx
In one cake app I use Auth and Acl to authenticate users, as per manual. Now I need to let some users, not listed in users table but in another database, edit the records of a table. Let's say for clarification that they should manage their own profile. What I want to do is: 1. let those

Re: Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-10 Thread braaan
companies should be able to login. > > Users can manage their account and Companies should be able to manage > > their employees (User). > > I didn't find a way to check companies- *and* users-table on a new > > login. > > > i thought about extending AuthComp

Re: Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-09 Thread Dr. Loboto
yees) and Company models > among others. >    => Users and companies should be able to login. > Users can manage their account and Companies should be able to manage > their employees (User). > I didn't find a way to check companies- *and* users-table on a new > login. >

Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-09 Thread braaan
Hello, my currect application has normal User (Employees) and Company models among others. => Users and companies should be able to login. Users can manage their account and Companies should be able to manage their employees (User). I didn't find a way to check companies- *and* users-

problem over using other table instead of users table for AUTH:

2009-03-14 Thread vikas
Hello all.. I have used Auth component for check user login.. Insted of users table- I have used table named 'logins' for authentication. In which there is email and password field is used for authentication. in beforeFilter() of app_controller i ha

Re: Autocomplete search on users table

2009-02-28 Thread brian
t; >> Of course, the cooler, more hip options are to postback after observing a >> change on the input, and AJAX/JSON look for data, only returning back >> strings containing the information you have partially entered. This could >> potentially be more powerful, allowing you

Re: Autocomplete search on users table

2009-02-28 Thread Mike
QL "WHERE LIKE" matches, for > mid-string matching. > > Hope this gets you started. > > Cheers, > > Graham Weldon > w.http://grahamweldon.com > e. gra...@grahamweldon.com > p. +61 407 017 293 > > On Mon,

Re: Autocomplete search on users table

2009-02-23 Thread Graham Weldon
. Cheers, Graham Weldon w. http://grahamweldon.com e. gra...@grahamweldon.com p. +61 407 017 293 On Mon, 23 Feb 2009 19:59:02 -0800 (PST), Mike wrote: > Hi everyone, > > I'd like to know if there is out there a component or helper using > JQuery to help me build a search aut

Autocomplete search on users table

2009-02-23 Thread Mike
Hi everyone, I'd like to know if there is out there a component or helper using JQuery to help me build a search autocomplete functionnality on a users table. I'd like the end user to be able to search a user by firstname, lastname, email and phone number, everything using an autocom

Re: (Bad) Tip: Checking HTTP Auth against your normal users table

2009-01-18 Thread Martin Westin
12, 2009 at 2:19 PM, Martin Westin > > wrote: > > > Hi all, > > It is not overtly documented but you can check your http > > authentication against your normal users table, just like Auth > > Component does. I didn't know this before. I thought I had to make an

Re: (Bad) Tip: Checking HTTP Auth against your normal users table

2009-01-17 Thread Dardo Sordi Bogado
I think this is worth of become an bakery post... Regards, - Dardo. On Mon, Jan 12, 2009 at 2:19 PM, Martin Westin wrote: > > Hi all, > It is not overtly documented but you can check your http > authentication against your normal users table, just like Auth > Component does. I d

Re: (Bad) Tip: Checking HTTP Auth against your normal users table

2009-01-12 Thread Nate
Actually, I'd say this is a good tip given the caveat that HTTP authentication always be done over SSL. On Jan 12, 11:19 am, Martin Westin wrote: > Hi all, > It is not overtly documented but you can check your http > authentication against your normal users table, just like Au

(Bad) Tip: Checking HTTP Auth against your normal users table

2009-01-12 Thread Martin Westin
Hi all, It is not overtly documented but you can check your http authentication against your normal users table, just like Auth Component does. I didn't know this before. I thought I had to make an loginUserrs array. But a simple change gave me the opportunity to check the login any way I w

Users Table spanning multiple app?

2008-12-09 Thread variaas
I'm planning to build a collection of applications that would be accessed through the same login (Google Writer, Sheet, and Presentation). What is the recommendation here: 1. One DB with tables for all apps with the same DB config 2. Create a DB per app and create seperate DB configs >From a per

Re: Users table

2008-05-25 Thread 3lancer.eu
Of course there is! http://book.cakephp.org/view/172/authentication ACL is something different , it is explained over there... Piotr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this

Re: Users table

2008-05-24 Thread Changoso
is this the same or uses ACLBehaivor? On 25 mayo, 00:58, Changoso <[EMAIL PROTECTED]> wrote: > Hello! > > I just downloaded the new cakephp 1.2.x version and i hear it now > comes with some libs for making the authorization automaticlly > > I mean, make a users table

Users table

2008-05-24 Thread Changoso
Hello! I just downloaded the new cakephp 1.2.x version and i hear it now comes with some libs for making the authorization automaticlly I mean, make a users table and it will automaticlly work with permissions. I've quick-looked for some tutorials but all i find is 2007 tutorials wh