Monday, June 29, 2009

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

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

No comments: