Forums

Access privileges and custom deletion

JavaJunkie 12 May, 2011
Hi,

I've created a number of CC pages to displays lists of database table records. So far, all is well.

However, every time I register a new user that requires access to said pages, I need to go to the "FrontEnd Per User Permissions" ("View Users", "New Record Users", "Edit Record Users", "Delete Record Users") section on the Components/Chrono Connectivity/FrontEnd Settings tab and specifically select those users. What I would like to do is say "Look, all the members of this particular user group has, by default, permission to access this page, create a new record, etc.". Can it be done?

And while we're on the subject of CC pages: is it possible to override the behavior for delete_record?
In one instance, I would like to, instead of actually deleting a record in the database table, merely set a flag that the record has been marked for deletion by the user. That way an administrator could "undelete" the record by changing the flag.
In another instance, I would like to do a cascade deletion, i.e deleting records in multiple tables, the common denominator being an id.

Thanks for any help and for a super product🙂
GreyHead 12 May, 2011
Hi JavaJunkie,

There is a Group Access list as well as the user list. You should be able to select Registered on that.

For the Deletes you can set that up with a custom link to a form using the task=extra parameter to execute code from one of the Extra Code boxes. That lets you customise the action however you like.

Bob
This topic is locked and no more replies can be posted.