Auth component

2011-01-01 Thread gilsilas
Hey, I have two questions 1. when I ran $this->Auth->login($data) I noticed that the resulted query select user and group but by $this->Auth->user() I can see only the user, why is that ? here is the query: SELECT `User`.`id`, `User`.`email`, `User`.`password`, `User`.`group_id`, `User`.`created`,

Re: Urgent, help: Setting up permission to allow aro to access aco (problem)

2011-01-01 Thread John Maxim
SOLVED. Setting permission can be done using the function build_acl regards, Maxim On Dec 31 2010, 4:19 pm, John Maxim wrote: > Hi I don't understand this: > > cake acl grant john /controllers/posts/edit * > > Now I am giving John all permission for edit node ?? > > All permission for edit node

Re: Using BindNode() function

2011-01-01 Thread John Maxim
It seems like a bug.. thanks netusco, Maxim On Jan 2, 1:27 am, netusco wrote: > check > this:http://groups.google.com/group/cake-php/browse_thread/thread/1a758f55... > > On Dec 31 2010, 5:35 am, John Maxim wrote: > > > Hi, > > I added in bind node function as shown > > here:http://book.cakep

Re: Add User/Group in Descending Order by Time(Last Add)

2011-01-01 Thread AD7six
On Jan 1, 4:19 am, John Maxim wrote: > SELECT * FROM users; Where and how in your cakephp application are you generating that query? AD Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are

Re: Using BindNode() function

2011-01-01 Thread netusco
check this: http://groups.google.com/group/cake-php/browse_thread/thread/1a758f5511091d9d/2066d1837ca05bad?lnk=gst&q=bindnode#2066d1837ca05bad On Dec 31 2010, 5:35 am, John Maxim wrote: > Hi, > I added in bind node function as shown > here:http://book.cakephp.org/view/1547/Acts-As-a-Requester >

How to get work PHPRtfLite in cake ???

2011-01-01 Thread Abu Zaid
Hi all... Does anyone know how to get PHPRtfLite (http://sourceforge.net/ projects/phprtf/) to work in cake 1.3.x ?? I've copy the library in Vendor and i've use App::import but can't get worked... :( even with the hello world example, i can't get it worked. please help... Thanks Check out the n

Re: Hi need Help: How to log-out from Acl ?

2011-01-01 Thread John Maxim
I think I found a solution: $this->Auth->allow('logout'); Is there a better way to logout other than allowing this in users controller? Regards, Maxim On Jan 1, 10:21 pm, John Maxim wrote: > Hi Thanks Jeremy, > > but let's say we deny group manager and user to have access to users > model, and

Re: Hi need Help: How to log-out from Acl ?

2011-01-01 Thread John Maxim
Hi Thanks Jeremy, but let's say we deny group manager and user to have access to users model, and the logout function is located in users controller; would it be a good suggestion to place the logout function in posts controller instead because it is a public page (controller).. Is it less secure

Re: Running a function in URL only once ?

2011-01-01 Thread John Maxim
SOLVED. It can only be run when new actions are added,.. someone by nick - savant (IRC) has helped me with this. Regards, Maxim On Jan 1, 1:13 pm, John Maxim wrote: > Hi, > > I'm still thinking why I could only run this function once in my url, > after acos table is populated with data, I tried

Re: Urgent Help needed: How to Correct this table so it doesn't have Composite Primary Key?

2011-01-01 Thread John Maxim
..Thanks Jeremy and everyone who contributed here. Regards, Maxim On Jan 1, 2:47 pm, Jeremy Burns | Class Outfit wrote: > I think what AD was saying is that the primary purpose of a UUID *when > compared with an integer* is that it is globally unique across all servers, > not just 'this' serve

Re: Urgent Help: Path for Production environment..

2011-01-01 Thread John Maxim
Yes, I understand, will work on it soon. Thanks.. Regards, Maxim On Jan 1, 2:31 pm, Jeremy Burns | Class Outfit wrote: > Slight typo: it is of course /cake/libs/controllers, not > /cake/libs/controller. > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com