OOPhoto: Implementing Security In An Object Oriented Application - Round I

<!--- Load or create new gallery. --->
<cfset LOCAL.Gallery = ARGUMENTS.Data.Cache.Factory
	.Get( "PhotoGalleryFacade" )
	.GetPhotoGallery( ARGUMENTS.Data.Attributes.id, true )
	/>
 
<!--- Check the user's permissions to edit this gallery. --->
<cfset ARGUMENTS.Data.User.ConfirmPermissions(
	"edit",
	LOCAL.Gallery
	) />

For Cut-and-Paste