05-12-2009 12:14 PM
You can invoke permission confirmation dialog for certain permissions.
Check the following classes:
05-12-2009 02:30 PM
Please note that you cannot set/unset a permission programmatically.
It is a security measure.
Only possible way is to compose a special confirmation dialog for user with classes I named before and display this dialog.
In case user accepts this confirmation dialog - all relevant permissions will be set.