, sathyashrayan sathyashra...@gmail.com wrote:
On Sep 28, 8:20 pm, jmcneese jmcne...@gmail.com wrote:
hi there. it looks to me that you are not using the groups correctly,
which is how you restrict non-owner users from undesired actions. the
bits are just like unix permission bits
hi there. it looks to me that you are not using the groups correctly,
which is how you restrict non-owner users from undesired actions. the
bits are just like unix permission bits, in that there is there is a
user and group id associated with the record, then bits assigned to
the owner, group
$campaigns-find('all', array(
'fields' = array(
'Campaign.campaign_id',
'Campaign.supplier_id',
'Campaign.brand',
'Campaign.end_date'
),
'joins' = array(
array(
'type' = 'INNER',
'table' =
all,
if you have ever needed a way to store arbitrary non-schema data for
your models, then i have made a solution for you. i'd like to
introduce my new plugin for cakephp 1.3+: Metadata Plugin. to learn
more about what it can do and how it works, take a look at
i vote Seattle, San Francisco or NYC, in order of preference...
Joshua McNeese
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group, send email to
this might work for you:
http://jmcneese.wordpress.com/2009/04/19/rmac-ftw-part-1/
On Aug 15, 6:50 am, Adrian gond...@gmail.com wrote:
Hi
I am trying to filter out records based on acl permissions.
I have my aro/acos and permissions set up but need a way to filter
results out from my
*chuckle*
my two cents is that if it doesn't do what you want it to, then
fucking code the solution for what your problem is, and then submit
patches/tests to trac.
On May 8, 7:08 am, Smelly Eddie ollit...@gmail.com wrote:
I hate that it is a powerful framework that can make the tedious work
wow, you guys are all making this way more difficult than it needs to
be. KISS!
rob's problem isn't really all that complex. there's a polymorphic
alerts model that attaches to multiple models that are all
interrelated. so far so good.
rob, the best place to learn about the syntax is
it works if you associate your models correctly. in each of your
models, associate them with the Alert model, like so:
public $hasMany = array(
'AccountAlert' = array(
'className' = 'Alert',
'foreignKey' = 'entity_id',
'conditions' = array(
'AccountAlert.model' = 'Account'
updated, for those interested:
http://jmcneese.wordpress.com/2009/04/19/rmac-ftw-part-1/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
for those interested:
http://jmcneese.wordpress.com/2009/04/19/rmac-ftw-part-1/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To
hey dave,
the long and short of it is: yes, it does impact performance, but for
most people it is negligible. it has it's pros and cons just like
anything, but if you ever are going to scale your app across multiple
servers/clusters/cloud, then uuid is the way to go, due to it's
unique nature.
is not, etc)... a user could have an
unlimited amount of roles.
On Apr 10, 12:49 pm, zonium zon...@gmail.com wrote:
Thank you jmcneese for showing me an alternative to the cake's ACL.
Your articles help me understand weaknesses of ACL when used to
safeguard records. It's was interesting to see
to present in the next cakefest, so developers don't need to
know nothing about bitwise operations, etc, etc.
So, if you (or someone else) would like to join this project, feel
free to contact me. I'll open a github project soon.
Regards
MARTIN
On Apr 6, 10:46 am, jmcneese jmcne...@gmail.com wrote
and pass those to my find('threaded') call, like
you mention how Mark Story put it: you have to know the answer to the
question before you even ask it. This works, but seems sub-optimal.
Anyway, I'll give this a go later. Thanks again.
On Mon, Apr 6, 2009 at 9:46 AM, jmcneese jmcne
would this help?
http://jmcneese.wordpress.com/2009/04/05/row-level-model-access-control-for-cakephp/
On Apr 7, 1:06 am, zonium zon...@gmail.com wrote:
I'm rebuilding the admin part of a legacy application which has
multiple account types and multiple levels of authority and I’m
thinking
i have done a couple projects that are extjs front-ends backed by
cake. what exactly are you trying to do?
On Apr 3, 10:35 pm, baur79 bau...@gmail.com wrote:
Hi everyone,
is there any of you have experience to implement this libraries into
your Cakephp projects.
we want to implement
since i've seen it talked about in the groups many, many, MANY times:
http://jmcneese.wordpress.com/2009/04/05/row-level-model-access-control-for-cakephp/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
18 matches
Mail list logo