Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Adding security to TppItemList (prevent deletion)

edited August 2003 in End User
Is there a way to prevent a user from deleting an item in ppItemList?

I have a custom report explorer and would like to implement some sort of
security by creating "System" folders and reports that users are not allowed
to move, delete or rename. They may edit items but only save as.

I think I can do this OK with the Folders as I have written my own routine
to load folders and save extra details in each folder node (using a subclass
of TppFolderInfo). But the Item List is using a TppItemList which does not
allow me to save any extra item info.

The only way I can think of doing this, is to copy the TppItemList class and
alter it to save extra item info in the item node? And use this in my custom
report explorer. If not are there examples of implementing security or
"System folders and items"?

Or is there a reserved number to assign to the rb_folders.Folder_Type /
rb_Items.Item_Type field in the tables that will handle this for me?
Certainly would be a nice feature!

Regards,

Jarrod

Comments

This discussion has been closed.