CakePHP ACL and Auth: Record Level Protection

The most common initial question people have when learning about the CakePHP ACL component is: “how do I let a user edit her own profile BUT only that one profile”?

The short story is that the CakePHP ACL component does not, nor is meant to, automatically provide this kind of record level protection.

Examples of how to do this are contained in this post.

[read more]

Mar 1, 10:38 PM Comment [4]

How To Play Hearts With Only Two Players

To successfully play Hearts with two players a few modifications must be made to the game.

The key modifications that allow you to play the game with only two players are:

  • each player is only dealt 7 cards
  • each player always draws a card after playing a card
  • a trick consists of 4 cards successively placed down by two players in an alternating fashion

The result is a game that captures the spirit of hearts, but with a lot more of an element of chance added. Some of the strategy that a 3-6 person game of hearts has will obviously not work as well. However, the added dose of luck that the rules below provide helps level the playing field for players of unequal skill, so that this game can be a way to introduce hearts to someone without them always losing.

[read more]

Feb 14, 08:49 AM Comment

Facebook Privacy Settings

I am a relative newcomer to Facebook, and therefore found the following advice piece about Facebook’s privacy settings. to be very instructive!

Overall, the nice thing about Facebook — at least the way I use it — is that the people I am interacting with on it are real people who I actually know or have known in my life.

This is a big change from days past of trying to have conversations and interactions with complete strangers on a message board.

[read more]

Feb 8, 07:43 AM Comment

Guitar Hero World Tour Microphone Compatibility

You just got Guitar Hero: World Tour, but don’t have the microphone. Before you go spend a fortune on an official microphone on eBay, check out your other cheaper options first. Any USB microphone is going to work fine!

[read more]

Nov 25, 11:56 AM Comment [1]

← older articles

rss feed iconRSS / Atom

Aran World

My Amazon.com Wish List

I'm Aran Johnson and I make websites.

I primarily use: PHP, MySQL, SubVersion, CakePHP, TextPattern, Cream Text Editor, and Addi Turbo Needles

Contact Me

My website portfolio

Recently

CakePHP ACL and Auth: Record Level Protection

How To Play Hearts With Only Two Players

Facebook Privacy Settings

Guitar Hero World Tour Microphone Compatibility

Foreign Policy Experience

CakePHP Tutorials

CakePHP ACL and Auth: Record Level Protection

CakePHP ACL and Auth: Sample Website

CakePHP ACL and Auth Tutorial: Database Setup

CakePHP ACL Tutorial: Introduction

CakePHP ACL Tutorial: Usage With Auth Component

CakePHP ACL Tutorial: Initial Setup

CakePHP ACL Tutorial: Auth Component Example

CakePHP ACL Tutorial: How To Check Access

Cake PHP ACL Tutorial: The Database Tables

My Flickr

Advertisement:
Protect Your LCD or Plasma TV Screen From Accidents

All content © Aran Johnson