Re: Validating not in list

2010-03-31 Thread moos3
What you are going to want to is this,in your add or create cunstion add this bit of code: $nicknames=array('mike','gizmo','root'); if (in_array($this-data['User']['username'],$nicknames)){ $this-Session-setFlash('nickname is reserved please try another one', 'default', array('class'='bad');

how to share

2010-03-22 Thread moos3
I'm working on a note application, I want to be able to do private sharing between users. I'm not sure how to go about it, but here is a example of how I see it working: note 1-- owned by bob view rights no one but bob note 2 -- owned by bob view rights will and billy note 3 -- owned by will view

Re: how to share

2010-03-22 Thread moos3
so create a acl entry on the fly for every change/user? On Mar 22, 11:37 am, cricket zijn.digi...@gmail.com wrote: I'd look into ACL for that. On Mar 22, 9:30 am, moos3 rich...@guthnur.net wrote: I'm working on a note application, I want to be able to do private sharing between users