In this sequel to the A DynamicData Attribute Based Permission Solution using User Roles I will user Marcin Dobosz's
Dynamic Data samples: Custom metadata providers InMemoryMetadataProvider to add metadata from a database.
Steps to build
- Create the database tables
- Add a User Interface to modify the permissions
- User Marcin's InMemoryMetadataProvider to add the database based permissions to the Metadata at runtime.
I'll be back soon with the first step.