Print Page | Close Window

Security Annotations on Entities

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2492
Printed Date: 26-Mar-2025 at 5:43am


Topic: Security Annotations on Entities
Posted By: eniben
Subject: Security Annotations on Entities
Date Posted: 07-Feb-2011 at 1:03pm
Currently, Remote Service Methods can be annotated to indicate whether or not Authentication is required and what Roles are required to carry execute them.

Can we have the same thing implicitly implemented for CRUD operations?

Say we have attributes that we decorate our Entities with and DevForce automatically checks for us whether the EntityManager.Principal can actually carry out the applicable CRUD depending on whether it's Insert, Update, Delete?  And maybe even Select?



Replies:
Posted By: DenisK
Date Posted: 09-Feb-2011 at 2:11pm
Hi eniben;

I will file a feature request for this.



Print Page | Close Window