Re: content-based ACL
This is all beside the point. Consoles are not the way to backend a website. On 25 Juny, 17:02, phobic <[EMAIL PROTECTED]> wrote: > Hi there. > > webhuset.no is a norwegian company and offers ssh shell access > > - Bjarte > > On Jun 25, 10:22 am, leo <[EMAIL PROTECTED]> wrote: > > > I know they're out there, but try telling a Spanish company (or any > > other European company) they should be using an American hosting > > company. > > > On 24 Juny, 07:35, Mauricio Morales <[EMAIL PROTECTED]> wrote: > > > > Hey, > > > > I have Hosting with an excellent hosting company called > > > A2Hosting,http://www.a2hosting.com/, this company maintains the PHP > > > Version Up > > > 2 Date, and allow shell access for resellers. > > > > Hope this help you. > > > > On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote: > > > > > I'm in Europe and I've never yet seen a shared host that allows shell > > > > access. Additionally, requiring a client to change their existing > > > > hosting provider is a non-starter, particularly if the new provider is > > > > more expensive. It's just something we put up with. We're looking at a > > > > new, local provider doing Xen servers. Maybe that's the way to go, but > > > > I'm not really up on that side of things... > > > > > Like I said, Aran, a very good tutorial, nevertheless. Keep it up! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
Hi there. webhuset.no is a norwegian company and offers ssh shell access - Bjarte On Jun 25, 10:22 am, leo <[EMAIL PROTECTED]> wrote: > I know they're out there, but try telling a Spanish company (or any > other European company) they should be using an American hosting > company. > > On 24 Juny, 07:35, Mauricio Morales <[EMAIL PROTECTED]> wrote: > > > Hey, > > > I have Hosting with an excellent hosting company called > > A2Hosting,http://www.a2hosting.com/, this company maintains the PHP > > Version Up > > 2 Date, and allow shell access for resellers. > > > Hope this help you. > > > On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote: > > > > I'm in Europe and I've never yet seen a shared host that allows shell > > > access. Additionally, requiring a client to change their existing > > > hosting provider is a non-starter, particularly if the new provider is > > > more expensive. It's just something we put up with. We're looking at a > > > new, local provider doing Xen servers. Maybe that's the way to go, but > > > I'm not really up on that side of things... > > > > Like I said, Aran, a very good tutorial, nevertheless. Keep it up! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
I know they're out there, but try telling a Spanish company (or any other European company) they should be using an American hosting company. On 24 Juny, 07:35, Mauricio Morales <[EMAIL PROTECTED]> wrote: > Hey, > > I have Hosting with an excellent hosting company called > A2Hosting,http://www.a2hosting.com/, this company maintains the PHP Version > Up > 2 Date, and allow shell access for resellers. > > Hope this help you. > > On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote: > > > I'm in Europe and I've never yet seen a shared host that allows shell > > access. Additionally, requiring a client to change their existing > > hosting provider is a non-starter, particularly if the new provider is > > more expensive. It's just something we put up with. We're looking at a > > new, local provider doing Xen servers. Maybe that's the way to go, but > > I'm not really up on that side of things... > > > Like I said, Aran, a very good tutorial, nevertheless. Keep it up! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
Hey, I have Hosting with an excellent hosting company called A2Hosting, http://www.a2hosting.com/, this company maintains the PHP Version Up 2 Date, and allow shell access for resellers. Hope this help you. On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote: > I'm in Europe and I've never yet seen a shared host that allows shell > access. Additionally, requiring a client to change their existing > hosting provider is a non-starter, particularly if the new provider is > more expensive. It's just something we put up with. We're looking at a > new, local provider doing Xen servers. Maybe that's the way to go, but > I'm not really up on that side of things... > > Like I said, Aran, a very good tutorial, nevertheless. Keep it up! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
I'm in Europe and I've never yet seen a shared host that allows shell access. Additionally, requiring a client to change their existing hosting provider is a non-starter, particularly if the new provider is more expensive. It's just something we put up with. We're looking at a new, local provider doing Xen servers. Maybe that's the way to go, but I'm not really up on that side of things... Like I said, Aran, a very good tutorial, nevertheless. Keep it up! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
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, because it may be a hidden feature. But, as mentioned, it isn't too difficult to build your own browser based management options. I found it much easier to build that after having understood the console app, so I would still say that the console is the place to start when learning the ropes on ACL. I am working on a nice tool for ACL management that provides something beyond what the console offers, but it isn't quite ready to share yet. -Aran On Jun 23, 7:03 am, mbavio <[EMAIL PROTECTED]> wrote: > > No I haven't seen that one. > > http://www.cakephpforum.net/index.php?showtopic=27 > > A bit long, but really useful :) > > Cheers, > mbavio --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
> No I haven't seen that one. http://www.cakephpforum.net/index.php?showtopic=27 A bit long, but really useful :) Cheers, mbavio --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
> My apologies. Accepted :) > You can make an web interfase for ACL administration. Havent you read > Franky tutorial in cakeforum? No I haven't seen that one. Of course you can make an interface, but my comment was that Aran's tutorial was lacking that aspect and, to my mind, the command line approach doesn't really help understanding other than providing material (db records) to work with. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
> You're quoting something I didn't say! When you're working on three > large websites at the same time, learning curve time is at a premium. > I got so far down the line then made the economic decision that I > could code up my requirements more rapidly. The advantage is that the > learning curve is then built in. I was talking about a lot of users using "own authorization system instead of using the components that are in Cake core, but you are right, and here is not a matter of better or wrong, but what fits in your needs. My apologies. > I found your tutorial early on and it is excellent. My only problem > with it was that administration of acl is done at the command line. > Who in the real world is going to do that? We generally don't have > console access to our clients' servers (neither do they) as they are > usually shared. That means creating records locally, exporting them > and importing them. Not nice. You can make an web interfase for ACL administration. Havent you read Franky tutorial in cakeforum? Cheers, mbavio --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
@mbavio: >>Latelly, I dont understand many users that complain about "ACL >>Component is too hard, so I wont use it". The funny part is that they >>end writing some system that is harder to get than Cake ACL >>Componente You're quoting something I didn't say! When you're working on three large websites at the same time, learning curve time is at a premium. I got so far down the line then made the economic decision that I could code up my requirements more rapidly. The advantage is that the learning curve is then built in. @Warringer & candesprojects: I'm more than happy to share, but the code is not componentized at the moment and I'm quite busy today as tomorrow is a public holiday. Give me a day or two. @aranworld: >>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 found your tutorial early on and it is excellent. My only problem with it was that administration of acl is done at the command line. Who in the real world is going to do that? We generally don't have console access to our clients' servers (neither do they) as they are usually shared. That means creating records locally, exporting them and importing them. Not nice. >>But the official documentation on ACL is pretty accurate now. The code fragments are wrong. If you cut and paste, as a lot of people do when trying to assimilate a concept, they are worthless. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
To me there is a distinction to make between ACL and Auth. Auth is using ACL (optional), but the ARO part of ACL can be anything, not always a user...(ie: action, context.. etc...).. You can use ACL without Auth, and ACL at record level (using the "model" authorization) can control the record "access" ... On Jun 23, 12:07 am, aranworld <[EMAIL PROTECTED]> wrote: > 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://aranworld.com/article/161/cakephp-acl-tutorial-what-is-it > > Back to the original post. Record level permissions are not something > that works out of the box with the ACL/Auth combination. > > ACL used to be much more difficult to learn, because the syntax and > rules were not well documented yet. But the official documentation on > ACL is pretty accurate now. However, keep in mind that very recently > there was a bug in the Core that caused the ACL component to fail in a > MySQL 4.1 environment. Otherwise, it has been quite stable and > relatively bugfree for the last 5 months or so. > > -Aran > > On Jun 22, 2:06 pm, francky06l <[EMAIL PROTECTED]> wrote: > > > You need to get your mind on ACL. There is a learning curve, but once > > you get it, it becomes very clear and quick use ... > > It's worth the learning time I think... > > cheers > > > On Jun 22, 9:07 pm, candesprojects <[EMAIL PROTECTED]> wrote: > > > > Yes, I'm interested too. > > > > I also have problems to implement the ACL. I don't know why is so hard > > > to customize and "quick" use. > > > > Tks. > > > > On Jun 22, 1:44 pm, Warringer <[EMAIL PROTECTED]> wrote: > > > > > On Jun 20, 5:33 pm, leo <[EMAIL PROTECTED]> wrote: > > > > > > > I've spent a lot of time studying the ACL+auth, but I don't know how > > > > > > to implement a such thing: > > > > > > Me too. Eventually, I gave it up as to much to learn and over > > > > > complicated. I wrote my own solution using existing auth in about 25 > > > > > lines of code + 2 small tables that does everything I want, including > > > > > access control down to view level. CRUD was just too vague for this > > > > > application. > > > > > Care to share? I could use something like that in my project. > > > > > - Warringer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
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://aranworld.com/article/161/cakephp-acl-tutorial-what-is-it Back to the original post. Record level permissions are not something that works out of the box with the ACL/Auth combination. ACL used to be much more difficult to learn, because the syntax and rules were not well documented yet. But the official documentation on ACL is pretty accurate now. However, keep in mind that very recently there was a bug in the Core that caused the ACL component to fail in a MySQL 4.1 environment. Otherwise, it has been quite stable and relatively bugfree for the last 5 months or so. -Aran On Jun 22, 2:06 pm, francky06l <[EMAIL PROTECTED]> wrote: > You need to get your mind on ACL. There is a learning curve, but once > you get it, it becomes very clear and quick use ... > It's worth the learning time I think... > cheers > > On Jun 22, 9:07 pm, candesprojects <[EMAIL PROTECTED]> wrote: > > > Yes, I'm interested too. > > > I also have problems to implement the ACL. I don't know why is so hard > > to customize and "quick" use. > > > Tks. > > > On Jun 22, 1:44 pm, Warringer <[EMAIL PROTECTED]> wrote: > > > > On Jun 20, 5:33 pm, leo <[EMAIL PROTECTED]> wrote: > > > > > > I've spent a lot of time studying the ACL+auth, but I don't know how > > > > > to implement a such thing: > > > > > Me too. Eventually, I gave it up as to much to learn and over > > > > complicated. I wrote my own solution using existing auth in about 25 > > > > lines of code + 2 small tables that does everything I want, including > > > > access control down to view level. CRUD was just too vague for this > > > > application. > > > > Care to share? I could use something like that in my project. > > > > - Warringer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
You need to get your mind on ACL. There is a learning curve, but once you get it, it becomes very clear and quick use ... It's worth the learning time I think... cheers On Jun 22, 9:07 pm, candesprojects <[EMAIL PROTECTED]> wrote: > Yes, I'm interested too. > > I also have problems to implement the ACL. I don't know why is so hard > to customize and "quick" use. > > Tks. > > On Jun 22, 1:44 pm, Warringer <[EMAIL PROTECTED]> wrote: > > > On Jun 20, 5:33 pm, leo <[EMAIL PROTECTED]> wrote: > > > > > I've spent a lot of time studying the ACL+auth, but I don't know how > > > > to implement a such thing: > > > > Me too. Eventually, I gave it up as to much to learn and over > > > complicated. I wrote my own solution using existing auth in about 25 > > > lines of code + 2 small tables that does everything I want, including > > > access control down to view level. CRUD was just too vague for this > > > application. > > > Care to share? I could use something like that in my project. > > > - Warringer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
Yes, I'm interested too. I also have problems to implement the ACL. I don't know why is so hard to customize and "quick" use. Tks. On Jun 22, 1:44 pm, Warringer <[EMAIL PROTECTED]> wrote: > On Jun 20, 5:33 pm, leo <[EMAIL PROTECTED]> wrote: > > > > I've spent a lot of time studying the ACL+auth, but I don't know how > > > to implement a such thing: > > > Me too. Eventually, I gave it up as to much to learn and over > > complicated. I wrote my own solution using existing auth in about 25 > > lines of code + 2 small tables that does everything I want, including > > access control down to view level. CRUD was just too vague for this > > application. > > Care to share? I could use something like that in my project. > > - Warringer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
On Jun 20, 5:33 pm, leo <[EMAIL PROTECTED]> wrote: > > I've spent a lot of time studying the ACL+auth, but I don't know how > > to implement a such thing: > > Me too. Eventually, I gave it up as to much to learn and over > complicated. I wrote my own solution using existing auth in about 25 > lines of code + 2 small tables that does everything I want, including > access control down to view level. CRUD was just too vague for this > application. Care to share? I could use something like that in my project. - Warringer --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
I was not talking about you, I was talking about the first response you got, from leo, that is a common response in this topic. Cheers, mbavio On Jun 21, 3:50 pm, gripen <[EMAIL PROTECTED]> wrote: > > Latelly, I dont understand many users that complain about "ACL > > Component is too hard, so I wont use it". The funny part is that they > > end writing some system that is harder to get than Cake ACL > > Componente, and absolutely cero re-usable. Come on, guys, it´s not > > that hard, I dont consider myself a clever cake coder (actually, I > > think I´m one of the dumbest :)) and I get it! It´s just a matter of > > keep reading, and trying, and making mistakes, and it can be hard, but > > the reward is not worrying about this topic anymore, because Cake > > already solve for you! > > > Cheers, > > mbavio > > Thanks for the idea. I was thinking about something similar.Actually I > WANT to use ACL, that's the reason why I ask this question. I just > wanted to know if someone else had the same problem and how he solved > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
> Latelly, I dont understand many users that complain about "ACL > Component is too hard, so I wont use it". The funny part is that they > end writing some system that is harder to get than Cake ACL > Componente, and absolutely cero re-usable. Come on, guys, it´s not > that hard, I dont consider myself a clever cake coder (actually, I > think I´m one of the dumbest :)) and I get it! It´s just a matter of > keep reading, and trying, and making mistakes, and it can be hard, but > the reward is not worrying about this topic anymore, because Cake > already solve for you! > > Cheers, > mbavio Thanks for the idea. I was thinking about something similar.Actually I WANT to use ACL, that's the reason why I ask this question. I just wanted to know if someone else had the same problem and how he solved 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
On Jun 20, 11:32 am, gripen <[EMAIL PROTECTED]> wrote: > Hi all, > > I've spent a lot of time studying the ACL+auth, but I don't know how > to implement a such thing: There will be several posts in section and > I want to restrict access to those posts only for few chosen users. > How sholud I set up ACL/auth to work this way? You can set your own custom autentification method using ACL and Auth in "controller" mode... What I am thinking, set a tree of ACOs with Section as Father of Posts, and then allow some Users to that Section... And use the function isAuthorized to achieve the "is allowed?". Latelly, I dont understand many users that complain about "ACL Component is too hard, so I wont use it". The funny part is that they end writing some system that is harder to get than Cake ACL Componente, and absolutely cero re-usable. Come on, guys, it´s not that hard, I dont consider myself a clever cake coder (actually, I think I´m one of the dumbest :)) and I get it! It´s just a matter of keep reading, and trying, and making mistakes, and it can be hard, but the reward is not worrying about this topic anymore, because Cake already solve for you! Cheers, mbavio --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: content-based ACL
> I've spent a lot of time studying the ACL+auth, but I don't know how > to implement a such thing: Me too. Eventually, I gave it up as to much to learn and over complicated. I wrote my own solution using existing auth in about 25 lines of code + 2 small tables that does everything I want, including access control down to view level. CRUD was just too vague for this application. There will be several posts in section and > I want to restrict access to those posts only for few chosen users. > How sholud I set up ACL/auth to work this way? I guess it depends how dynamic are your requirements. If you can identify the posts reliably then it should be possible. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
content-based ACL
Hi all, I've spent a lot of time studying the ACL+auth, but I don't know how to implement a such thing: There will be several posts in section and I want to restrict access to those posts only for few chosen users. How sholud I set up ACL/auth to work this way? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---