RE: How to deploy ACL-permissions on several envirnoments?

2009-06-29 Thread Paul

Hi Jeroen,

Basically the question you asking of course goes beyond the scope of just
acl itself and does indeed fit into the category of database synchronization
or deployment, and as far as that goes there are any number of solutions. We
have had similar situations specifically with acl of course, and another big
one we use a lot - configuration stored in the database - similar scenario.

We've tried a couple of different solutions - including like you mention
just dumping to file and loading that in the production environment, to
pinging of the data to the live servers or requesting from the live to our
development to load the data, either triggered automatically in certain
parts of your application or run by cron, or just even calling it manually
in the application or via a shell.

Basically it's a pretty wide scope and there is no clear cut solution, it'll
be heavily governed by your server setup and preferred methods of doing
things - deployment, production cycle etc.

In the end our solution that fitted our needs was having the data dumped to
file in our dev env, that  resided in our project config, then in our
production environment a simple interface for checking and loading this
config when/if it had been updated.

So it's a big subject, and there are a huge number of solutions, there is a
couple ideas on how we did it - we just wrote custom code to do it all btw,
no pre rolled solutions we could find that fitted the task at hand.

HTH,

Paul.

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of Jeroen
Sent: Monday, 29 June 2009 8:40 p.m.
To: CakePHP
Subject: Re: How to deploy ACL-permissions on several envirnoments?


nobody know's it?


__ Information from ESET NOD32 Antivirus, version of virus signature
database 4197 (20090629) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 4197 (20090629) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 4197 (20090629) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to deploy ACL-permissions on several envirnoments?

2009-06-29 Thread brian

I can't speak for others, but I don't understand the question. If
you're migrating your DB from one server to the other, why wouldn't
that include your ACL info?

Also, why do you have 'foreign_key' => 0? How can you have 0 as a foreign key?

And "Guest" is misspelled, btw.

On Mon, Jun 29, 2009 at 4:40 AM, Jeroen wrote:
>
> nobody know's it?
> >
>

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to deploy ACL-permissions on several envirnoments?

2009-06-29 Thread Jeroen

nobody know's it?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---