ap_spp_restore_for_object_sp

This procedure realoads all permissions granted on an object given the

inforamtion in abaspecialperms. The permissions are granted to the existing

certificate users. That is, no new certificates or users are created.

The procedure is executed by ap_sob_update_sp when an object is loaded

to make sure that the permissions are retained when an object is dropped

and created. You could also call it manually if you have been fiddling

with an object outside AbaPerls. Note that by default, it only reports

the statements without executing them.

 

Parameters:

@objname, sysname: The object to restore permissions on.

@report, bit, default 1: Print the statements generated.

@exec, bit, default 0: Execute the statements generated.