XML is pretty cool but sometimes you want to create parts of an application that can be modfied by users from the web. On a current project I'm working on, I need to implement a permission system that allows the following:
-Staff can be in more than one role
-Staff determine which views are accessible to which roles
I will demonstrate how to create an interface allowing your users to modify permissions and roles via ordinary BizForms and BizObjs. The key to this setup is replacing the access XML file with a database table. This way OB's builtin Forms/Objs can be used to modify access permissions.
staff - holds basic user information with which to hold user accounts
list - This is a generic table that I use to store any simple lists. For this example, we'll store a list of Roles and Views.
view - a generic list of views that match the actual views in your application
role_staff - A join table connecting multiple roles to multiple staff
role_view - Another join table that assigns a views to a roles