Hi experts,
I have an authorization object and authorization field linked to a component of my BO node. This worked correctly, but after adding multiple node categories and disabling the default node category, I'm no longer authorized to create new instances of the node.
It appears that, immediately after deriving the node category from the parent node in de node class method SET_NODE_CATEGORY, extra authorization checks are executed. Which seems desirable. However, at that moment, all fields of my node and thus also the field to which the authorization check is linked are still initial, and authorization will always fail.
I noticed that I could derive the value for this authorization field from the parent node using a custom node check class, based on /BOBF/CL_LIB_AUTHCHECK_W_QUERY.
Can someone please confirm this is the optimal way to go?
Alternatively I could give all users authorization to create the 'empty' authorization field, but that's also not really an option which makes me happy
Many thanks in advance!
Kr,
Bjorn