Some guy left a comment on a blog that said that I shouldn't be using
CakePHP, because its use of ACL is very antiquated. The guy was
obviously trying to promote his own PHP framework that uses RABC
instead. After reading about RABC, though, I'm having a bit of a hard
time understanding the diff
I like where Martin is going. I think it would be fantastic if we
could see all proposed/submitted edits for a particular section. That
would be much more useful than the comments, and I think it would also
encourage people to provide edits if they were able to see what kinds
of submissions had
Yes, you can do this.
In my User model, I have a series of validation rules for a field
called "new_passwd".
After this field is validated for things like minimum length I then
have it hashed into the string that gets stored in the database.
Here is a bakery article that can show how to do some
PHP Architect seems somewhat centered on the Zend Framework, so I'm
wondering if it is a worthwhile magazine for someone whose main focus
is CakePHP.
So, if you subscribe to it, do you find it worth the money and time
spent reading it?
--~--~-~--~~~---~--~~
You r
Off the top of my head, I would think you could add some logic to your
app_controller beforeFilter() in which you check for the existence of
the Auth session information. If it doesn't exist, then trigger your
redirection to the login page. Otherwise, just let the automatic
error get displayed.
OK, I figured it out now.
I just had to call my console script with a 'webroot' parameter set
like this:
cake -webroot ../www nameofscript
This is what I should do if my directory structure is like this
/superblog
/app
/www
On Jan 6, 3:15 pm, aranworld wrote:
> I
I am trying to create a cake console script, but I am running into a
problem with the default paths the Cake Console creates. The Cake
Console assumes that your WWW_ROOT is at APP_PATH/webroot
What do I do if my WWW_ROOT is NOT at APP_PATH/webroot?
How do I dynamically modify constants defined
Try this out:
http://book.cakephp.org/view/219/Blog
Note also that this documentation has been translated into a bunch of
different languages, in case English is not your first choice.
On Jan 2, 10:44 pm, Rimoe wrote:
> hi,everyone.
> Do you know the cakephp has some detailed examples?
>
> for
Thanks for the gift!
If we have been updating our Cake install from:
https://svn.cakephp.org/repo/branches/1.2.x.x
Is it still recommended to update from there? I assume that any
bugfixes are going to continue to be reflected in the svn?
Or, is that it for 1.2.x.x? Will there be no more chan
The following are the main things I came across during a recent
upgrade:
-- all the html helper functions related to forms have been eliminated
and replaced by the form helper
-- getElement() has been replaced by element()
-- the syntax for making queries has been significantly altered
especially
For the last 6 months or so, most of the changes made to the 1.2 core
code have been with regards to test coverage. Very little (if any) of
the most commonly used API has changed, and I think the developers
have been pretty clear that not much will change either. For the most
part, websites I pu
The first step you should do is to write out an example of what you
want your ARO tree to look like. I think it will then be easier for
someone to help you out.
For example, I often have a tree that looks like the following:
Superusers
Users
--Staff
John Kramer
Alex Wylde
Managers
-
out/view). You can use a paginate() call even for the RSS feed, as
> you usually only want the last x entries in the feed, not the whole
> database. You can ask the RequestHandler component whether the page is
> supposed to be RSS or regular, and increase the limit for the paginate
posts/index uses paginate? How could I make a
controller action called index, that handled both an rss request and a
regular request, using different logic for each one?
-Aran
On Nov 25, 2:07 pm, aranworld <[EMAIL PROTECTED]> wrote:
> I am finding the manual entry on generating RS
I am finding the manual entry on generating RSS Feeds really helpful
except for one minor detail.
http://book.cakephp.org/view/483/Creating-an-RSS-feed-with-the-RssHelper
When someone requests posts/index.rss , what controller method is
actually called? Is Posts::index() called?
Where should I
Thank you! That is exactly the type of idea I was looking for.
-Aran
On Nov 20, 1:36 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 20, 10:14 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > I don't want to create an add or edit template for any of my
> >
5...
>
> Is this what you were looking for?
>
> On Nov 20, 1:42 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > For the most part, all my edit and add methods can use the same form
> > template.
>
> > Right now, I create a single form template and in my add.ctp
I get the feeling this is the type of client who might call you up in
6 months complaining about how many templates there are and request
that you organize them into sub-directories. It is probably worth
your time to try and convince this guy to defer to your expertise and
trust you that the defa
Sorry for writing something that looked like griping! I was
absolutely NOT complaining about how the Auth Component works -- even
though a year ago, I did once make this complaint.
On the other hand, it is nice to have such a nicely worded explanation
of why this "feature" is not in the core cod
For the most part, all my edit and add methods can use the same form
template.
Right now, I create a single form template and in my add.ctp and
edit.ctp templates, I just include this template.
However, this also means that almost all of teh add.ctp and edit.ctp
templates in my project are exact
Don't worry, this is not another post asking how to open .ctp files in
Dreamweaver...
My question is directed at anyone who might have worked on a CakePHP
project in Dreamweaver ... or, is this even possible?
So many of my template files are filled with calls to the html helper,
that I have to i
The problem lies with the Auth Component. When parsing a URL to
determine if a user has access to a resource, the Auth Component does
not factor in the id (or any other passed parameter). This means that
you cannot use the Auth Component to automatically protect content on
a record level basis .
As I work on my CakePHP based projects, I find that my views/elements
directory gets more and more filled. I really like putting view logic
in elements even in cases where I am not actually re-using the
element. I find I am treating elements almost like functions, so that
when I have a fairly co
Is there a way to cache the following two pages so that the cached
pages are different?
http://www.cakephp.org/articles/index/18?year=2003
http://www.cakephp.org/articles/index/18?year=2007
The default behavior of the Cache helper seems to just make these two
pages have the same content which i
give you some direction in how to put together your own modified
AuthComponent that does pass along the id.
-Aran
On Sep 8, 9:23 am, luke BAKING barker <[EMAIL PROTECTED]> wrote:
> aranworld - I am wondering how this could be made universal throughout
> an app...better possibly in t
There is a variable in the AuthComponent called actionMap that assigns
actions one of the four CRUD actions.
To add an action named 'organize' to the list of controlled actions,
you do the following from within your controller:
$this->Auth->actionMap['organize'] = 'update';
See more here:
http:
You can add this to your UsersController:
function __checkUsersOwnRecord($recordId = null) {
if( $this->Auth->user('id') == $recordId ){
return TRUE;
} else {
return FALSE;
}
}
Give all users access to users/edit ... however, before you do any
edit functionality first
I wonder if we have the same web host ... Hostway perhaps?
I am just in the middle of figuring this out as well and I came across
the following code that I believe still works, however, I must warn
you that I have not tested this out fully, but maybe this will at
least put you in the right direct
I agree wtih benjam that URL obscurity is not a good way to protect
content that could otherwise be protected through something like ACL.
The reason why the Flickr example is interesting is because they are
actually using URL obscurity to protect images, which like any binary
downloadable file ar
If you are interested to see this type of strategy used for image
urls, check out flickr and look at the image urls.
On Aug 25, 9:16 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 26, 2008 at 8:54 AM, Jerry <[EMAIL PROTECTED]> wrote:
>
> > Hi:
>
> > is there any way to make appli
I have had situations in which I was unable to use a column named
"password" and had to instead use something like "passwd". I believe
it is a reserved keyword issue with MySQL? Not sure if it was just
related to an older version, but you might at least try changing the
column name.
-Aran
On A
I'm not sure how the rest of your app is configured, but my guess is
that the last line is causing you problems:
$this->Auth->login($this->User);
I'm not sure it is necessary to do this, because now that you have
modified the database entry for the user, I believe the standard
AuthComponent logi
Here is a step-by-step summary that should hopefully help you grasp
how Auth and ACL are working together.
http://aranworld.com/article/164/cakephp-acl-tutorial-auth-component-example
ACL is basically a database of permissions. The Auth Component is
programmed to query that database to dermine
This is what is currently happening to a site I have:
1) person visits site's home page, which contains an element which
displays the top news stories from the database
2) since the element is set to be cached, a cached view file is set
with an expiration of 3 hours
... 2 hours later ...
3) the w
I really don't think you should be holding your breath for the Cake
component to support multiple groups per user. So, Mark's solution of
writing his own version is probably the only short-term solution.
But I agree with Stinkbug that there are often times when it seems
like multiple groups are
eep the file in fixtures. Makes sense to me :)
>
> > On Jul 15, 8:33 am, aranworld <[EMAIL PROTECTED]> wrote:
> > > I need to create a test case for the parsing of a tab delimited file.
> > > Would it make sense to put the test version of this CSV file in the
&g
I'm sure the developers will release it as soon as Day 2.0 is
released. You know, the one with 26 hours instead of 24.
I agree that this would be a good thing to have, but instead of just
demanding it, why don't you offer to put in some of the work needed to
create it?
On Jul 14, 11:29 pm, "Wis
I need to create a test case for the parsing of a tab delimited file.
Would it make sense to put the test version of this CSV file in the
fixtures directory of my test suite? Or is there a more standard
place to put a file like this?
--~--~-~--~~~---~--~~
You rece
The documentation is definitely getting better all the time. You guys
are doing a great job.
-Aran
On Jul 14, 2:07 pm, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On Jul 14, 2008, at 1:38 PM, Chris Hartjes wrote:
>
>
>
> > On Mon, Jul 14, 2008 at 3:17 PM, puneetratan <[EMAIL PROTECTED]>
I prefer using the honor system to ACL myself. It is much easier to
set up.
-Aran
On Jul 14, 12:39 pm, John David Anderson <[EMAIL PROTECTED]>
wrote:
> http://book.cakephp.org/view/171/access-control-lists
>
> -- John
>
> On Jul 14, 2008, at 1:17 PM, puneetratan wrote:
>
>
>
> > Hello Group,
>
This is the condition I want to display:
AND `Grant`.`date` BETWEEN
DATE_SUB('2006-01-01',INTERVAL `Grant`.`term` MONTH) AND
'2005-12-31'
This comes really close:
$cond['and'] = array(
"Grant.date BETWEEN ? AND ?" => array(
"DATE_SUB('2007-01-01',INTERVAL `Grant`.`term` MONTH)',
I agree with Wayne. More often than not a question is answered on
this group. I would go so far as to say that the high quality of the
community in this group is a selling point for CakePHP. Most often, I
would say that a question doesn't get answered, because either:
1) it is about quite an o
to SVN?
>
> Am now wondering whether vendor branching is overkill, since I don't
> change the cake core either?
>
> On Jul 4, 6:22 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > I will second what AD7six says. For a while I tried out this type of
> > mergi
Nevermind, I finally figured it out. The Ajax Helper uses rand() to
generate the ids of it's forms. There is a bug with rand() that
causes it to generate the same number. mt_rand() doesn't suffer from
this bug, so should be used instead.
-Aran
On Jul 4, 5:04 pm, aranworld <[EM
I am experiencing some very odd behavior with the Ajax helper.
I have a page with the following structure
index.ctp
-
form('view','post', array('update' => 'view_box') );
echo $form->submit('Display View');
echo $form->end();
?>
This is where the view should be.
The v
I will second what AD7six says. For a while I tried out this type of
merging. I soon realized that it is much easier to just leave the
Cake core alone. I just have a shared cake folder for all my projects
that I do an SVN update on.
One advantage of this is that if you start submitting patches
This is always something I have guessed at. I just set directories at
755 and 777 if they need to be written to, but I would like to know
what the absolute correct file permission settings would be for a cake
project?
If the server runs as user "wwwrun" belonging to group "www" and all
my site's
I would submit a bug on this. I ran across another MySQL 4.1
incompatibility last week and they fixed it. But first update to the
latest SVN version, because maybe this has already been fixed.
I came across another MySQL 4.1 issue that luckily wasn't causing me
any problems, so I didn't dig dee
I'm curious to know why you are routing everything to the
Contents_Controller rather than just put the functionality of the
Contents_Controller into the app_controller?
I think that one of the frustrations people have with the Auth
component is that when a problem crops up, it can take a lot of
d
I experienced that same problem with the array_intersect_key() a few
days ago. I then updated by Cake, and the problem didn't crop up
again.
And he has that syntax correct. For an ARO you can most definitely
use the user's username as the alias.
On Jun 23, 12:26 pm, BrendonKoz <[EMAIL PROTECTE
Has anyone ever investigated or created a web interface to the Cake
Console?
I'm not exactly sure how one would go about it, but since the Console
us just using Cake and PHP, it would seem that a web interface is at
least theoretically possible.
What are the hurdles?
I think this would be a ver
I appreciate the feedback about the Cake console. I understand about
shared hosts, however, even with many shared hosts, some sort of shell
access is often granted. I have a site with Hostway (who sucks), but
even they provide SSH access. If your shared host doesn't, I would
ask them about it,
Being someone who has spent a good amount of time writing some how-tos
on the subject of ACL, I would be interested to know what part of it
you are having difficulties with? I would be happy to write a
tutorial to fill in whatever missing gap there is in the existing
knowledge base.
http://aranw
t;[EMAIL PROTECTED]> wrote:
> Are both computers using the same OS? I wonder if the problem is with
> newlines & Windows.
>
> On Thu, Jun 19, 2008 at 10:09 AM, aranworld <[EMAIL PROTECTED]> wrote:
>
> > Well, good to know I'm not alone! When I send email from my l
Well, good to know I'm not alone! When I send email from my local
computer via SMTP, I don't get this problem, but when I send it from
my remote host using whatever mailer they have, that is when I get the
problems cropping up.
-Aran
On Jun 19, 5:59 am, ianh <[EMAIL PROTECTED]> wrote:
> Now yo
When I run the Tree Behavior test case under MySQL 4.1.14, I wind up
with 54 passes, 52 fails and 1 exception.
When I run the same test case under MySQL 5.0.18 all tests pass.
In both cases, I am at the latest SVN update of 7210.
Can anyone else replicate this? Has there been a change as far a
When sending email with the Email Component, some of my emails include
the following types of headers in the body of the message:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 18 Jun 2008 11:01:31 -0500 (CDT)
Anyone
;
> On Tue, Jun 17, 2008 at 11:24 PM, aranworld <[EMAIL PROTECTED]> wrote:
>
> > I started to discover some rather serious errors with the way lft and
> > rght values were being set while creating ACL nodes.
>
> > Now, I am looking at the Tree Behavior test case
I started to discover some rather serious errors with the way lft and
rght values were being set while creating ACL nodes.
Now, I am looking at the Tree Behavior test case, and am getting 54
passes and 52 fails!
Can anyone else replicate this failure rate for the Tree Behavior test
case? I am o
d 164 exceptions.
>
> On Jun 16, 3:20 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > I don't see where you created the ACO node with the alias 'access'.
>
> > You must create an aco node for every possible node that will be
> > requested.
>
>
I don't see where you created the ACO node with the alias 'access'.
You must create an aco node for every possible node that will be
requested.
A check on a non-existant node will return FALSE, and give you a
result of "not allowed".
On Jun 16, 9:06 am, elGEoRgE <[EMAIL PROTECTED]> wrote:
> RC
o the local machine and it still works locally.
>
> Just curious, but why doesn't the acl join table follow cake
> conventions? Shouldn't it be acos_aros instead of aros_acos?
>
> -Corie
>
> On Jun 12, 12:16 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> >
Could it have something to do with case sensitivity?
I also am using Auth with 'crud' and am not having any troubles with
the current svn version of cake on either my local windows or remote
linux servers.
There must be some difference between the two servers. Maybe the
database schemas are dif
What I would love to be able to do is something like this:
$html->link('login', '/users/login', array('secure'=>TRUE) );
Depending on which server I was on, this would generate either:
https://www.cakephp.org/users/login
OR
https://cakephp.localhost/users/login
Currently, the problem is that
Is there an easy way to determine from the layout page if the page
content being rendered is a scaffolding template?
I want to dynamically load a scaffolding specific stylesheet on the
condition that the rendered view is a scaffolding.
--~--~-~--~~~---~--~~
You r
then the cookie will only be sent back to the server over a
> > connection which is encrypted with SSL. If it is set to false, the
> > cookie will be sent whenever the user visits the domain.
>
> On 10 Jun 2008, at 14:44, aranworld wrote:
>
>
>
> > So,
grammer, have to do
something on my end to continue to keep it secure after it is set.
-Aran
On Jun 9, 10:07 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> Because the browser won't hand the cookie back to Cake over a non-SSL
> connection anyway if it's be
In the cookie component there is:
$secure = false
If set to true, it will only allow you to write a cookie if the
connect is through an HTTPS connection.
But this flag has no impact on reading cookies. The component
provides not method for ensuring that a cookie is only read under an
SSL conne
; I mean the second param...
>
> Cheers,
> mbavio
>
> On Jun 7, 9:11 am, aranworld <[EMAIL PROTECTED]> wrote:
>
> > For some reason, I thought the AuthComponent used the username in it's
> > call to check but I can now see that in it's first parameter it is
Sometimes us programmers not on the CakePHP development team will
think that we have an improvement to the core code, so we come up with
our own solution (hack) to "improve" things. But then inevitably the
core code gets changed, and we suddenly find out that our hack is
broken, or just didn't ma
ll work? You can use:
>
> check(array('model' => 'Model', 'foreign_key' => 'anID'),
> 'CamelCaseController', 'crudmappedaction');
>
> and complement it with Acl Behavior, that not set Alias by default.
>
> Just my two cents.
>
&
I agree with stefanski that it makes sense to put a lot of this into
the model/behavior zone. I like to think of an imagefile as a piece
of data, that I just happen to store in the filesystem rather than the
database.
But as far as uploaders go, there are some limitations with PHP that
will prev
The only thing stopping you is that you might come into problems
having controllers with the same name.
If you made a controller named useradmin_controller.php in /
controllers/admin, cakephp will find it.
However, if you have users_controller.php in BOTH /controllers and /
controllers/admin, I
Solved problem by using mt_rand() instead.
Still, I would be interested to know why rand() kept generating the
same number, while I had a cookie in use.
-Aran
On Jun 4, 11:42 am, aranworld <[EMAIL PROTECTED]> wrote:
> Ignore the part about Firefox and Internet Explorer.
>
>
es enabled, and when I visit /pages/
random_number, I still see '80' after every single page reload?
Anyone know what might be happening here?
How is the result of rand() getting cached between different browsers?
On Jun 4, 11:33 am, aranworld <[EMAIL PROTECTED]> wrote:
> I
I have investigated further and it seems related to cookies. The
cached values happen when I am logged in and have a cookie enabled.
On Jun 4, 11:28 am, aranworld <[EMAIL PROTECTED]> wrote:
> I am experiencing a very bizarre problem.
>
> In core.php I have:
> Configure::wr
I am experiencing a very bizarre problem.
In core.php I have:
Configure::write('Cache.disable', true);
I have the following two files:
pages/random_number.ctp
www/random_number.php
In Firefox:
When I access /pages/random_number, I get the same numeric result
every time I reload the p
Thanks for the different perspectives.
I'm leaning towards having the functions in the image model.
These functions will only ever be used when modifying an image whose
pointer information is stored in database, so having the functions in
the model doesn't decrease re-usability for me.
Having t
re you suggesting that I include them in the aco tree, like:
> Controllers
> Surveys (no crud flags)
> index
> restart
> blahaction
>
> btw, your tutorial is very helpful as well!
>
> On May 29, 2:42 pm, aranworld <[EMAIL PROTECTED]>
Time for a semantic question.
I have a controller for images, which handles the process of uploading
an image to my website.
Information about the image -- caption, filename, etc. -- is stored in
the database with a model named Image.
I have some functions which generate various sized versions
This is a case where you should be using:
$this->Acl->check('aro_alias', 'CamelCaseController', 'crud action');
So, in your case, to find out if the logged in user 'henry' should be
able to access /votes/restart, and you have mapped restart to
'update', then you do this:
if( $this->Acl->check('
Chris' tutorials are definitely still relevant.
In case you haven't seen it yet, I have created a sample website with
downloadable source code,
which demonstrates the integration of Auth and ACL in a CakePHP
project:
http://aranworld.com/article/170/cakephp-acl-and-auth-sample-website
This shou
ly could lead to
> > duplication eventually, the chances that you'd have multiple hits on
> > the same IP would be greater. You can find more about browser
> > fingerprinting with a simple web search (and find better methods).
>
> > On May 22, 4:29 pm, aranworl
g/articles/view/brute-force-protection
>
> It may need some changes to make it work with 1.2 but I think it's
> simple and does it's job.
>
> On May 22, 9:13 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > I am trying to figure out the most reliable way of restricting
I am trying to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab at the problem thus far:
http://cakeforge.org/snippet/detail.php?type=snippet&id=220
I'd love to hear what other people have done, or what they think of
the method
.
-Aran
On May 21, 2:26 pm, aranworld <[EMAIL PROTECTED]> wrote:
> There is a very similar discussion thread posted yesterday
> here:http://groups.google.com/group/cake-php/browse_thread/thread/2c01cf7c...
>
> The key is the Pages controller. Pages are "static" page
There is a very similar discussion thread posted yesterday here:
http://groups.google.com/group/cake-php/browse_thread/thread/2c01cf7cf5c36843?hl=en
The key is the Pages controller. Pages are "static" pages whose
templates are in the views/templates directory. They do not have
controllers, or m
This is the article you want to read:
http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction
For a home page, you maybe won't even have a controller. Instead you
create a template in your pages directory.
This page will include a number of calls to
$this->element
Auth Component will break if you try to allow 'login'.
On May 19, 1:50 am, Crazy <[EMAIL PROTECTED]> wrote:
> I just started looking into the auth component, I don't need ACL's or
> anything, all I need is simple authentication and a small form where
> someone can make an account.
>
> Everything
I'm not sure why you would need to render an element from within a
controller? As far as I know this is not the intended purpose of
elements.
If this is a controller method called via AJAX then I believe you
should be rendering a "view".
In the view file, you then include the element you want t
If you are using CakePHP 1.2, you should be using the following type
of syntax:
cake acl grant department-1 Employeelist *
In this case, your aro table would have to have a row with an alias of
department-1 and the aco table would have to have a row with an alias
of Employeelist.
-Aran
On May
In my 'Users' controller I do this:
beforeFilter() {
$this->Auth->allow(array('logout') );
parent::beforeFilter();
}
function login() {}
function logout()
{
$this->Auth->logout();
$this->flash("You are now logged out of the site.", '/' );
}
I don't know if this is "correct", bu
Maybe you didn't use the salt when setting the password value in the
database?
You have to do something like this:
INSERT INTO `users` SET `password` =
sha1( 'passwordstringSALTSTRING')
On May 11, 12:10 am, Andras Kende <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I was able to add 1.2 auth from
I have been using the AuthComponent and the ACL Component together
using Auth's 'crud' mode. It works great, and like mentioned above, I
am very glad to know that a core update isn't going to break it. A
lot of the bugs that plagued the Auth and ACL 6+ months ago are gone,
and it is pretty stabl
act, maybe the documentation would be in an SVN repo, which
volunteer contributors would checkout. Submitted changes would be in
the form of diff files?
-Aran
On May 7, 9:38 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On May 7, 2008, at 10:09 AM, aranworld wrote:
>
>
>
&
could also view
the editing history of current sections, then we could get an idea of
what type of style you are looking for.
-Aran
On May 7, 8:44 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On May 7, 2008, at 9:24 AM, aranworld wrote:
>
>
>
>
>
> > I really
I really enjoy contributing to the official Cake Book, however, it is
a very serious problem that the contribution and editing process is so
obscure. The black box model absolutely does not work and
significantly reduces the incentive to contribute.
I have personally spent a lot of time working
For the last few months I have been using the nightly build. It is
pretty stable. If you follow the change log, it has been a while
since any application breaking syntax changes have been introduced.
And looking at the bug list in trac, I wouldn't say there are any
major changes in the pipeline
1) The syntax in the end is correct. You could also do:
cake acl create aro root superadmin
2) When you create a node in the CLI, the model and foreign_key fields
are blank. If you want these fields added automatically, then you
need to add the nodes from within your application using the m
So, let's say I want to set a flag that determines whether or not a
login link should be displayed if a visitor to my site is not logged
in.
Which is the more cake friendly way to do this?
// put this in my AppController
var $displayLoginLink = TRUE;
OR
// put this in my bootstrap.php
Configur
1 - 100 of 167 matches
Mail list logo