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
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
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
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' =
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
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
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
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
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
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
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.
>
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-
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
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
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,
.
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
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
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
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
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
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
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
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
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
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
25 matches
Mail list logo