Restricting access to debugging for services
You might need to limit access to debugging functions in the Inspector. For services other than human services, you can control which users have the ability to debug services. To edit the settings, copy the code snippet and then make the necessary changes.
The settings are checked by the server that runs the service. They need to be applied to the configuration file of your IBM® Workflow Center when you debug locally in your designer.
The following elements enable you to configure debugging functions for services.
| Element | Default setting | Description |
|---|---|---|
<enabled merge="replace">true</enabled>
|
true
|
On Workflow Center: Establishes whether debugging of services is enabled. If set to false,
when you attempt to debug a service in the Inspector, the service simply runs without any debugging
feedback. |
<enforce-debug-role
merge="replace">true</enforce-debug-role>
|
false
|
Establishes whether users who don't belong to the Debug group (defined in the
following setting) can access the debugging function. Only one user role can be defined. By
default, this element is set to |
<debug-role merge="replace">debug</debug-role>
|
debug
|
Specifies the group that users must be a member of so they can access the
debugging function. Only one group can be defined. If one or both of the preceding settings is
false ( If both of the preceding settings are true, then
|
<server>
<debug>
<enabled merge="replace">true</enabled>
<enforce-debug-role merge="replace">true</enforce-debug-role>
<debug-role merge="replace">debug</debug-role>
</debug>
</server>
For information about the 100Custom.xml file's location and how to create, modify, and deploy it, see The 100Custom.xml file and configuration.
This topic is shared by BAW, CP4BA. Last updated on 2025-03-13 12:15