You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is possible and if the documentation is out there for it, but I've noticed there are only two modes of Permissions right now based on the capability: TSC.Permission.Mode.Allow and TSC.Permission.Mode.Deny.
Within the GUI application, there is a way to have an unknown status for the capability, but I haven't seen it within this library. Is there a way to make the mode "Unknown"?
Hi @mbabatunde you should be able to call delete on that specific capability to mimic the GUI behavior. The commented lines at the bottom of this sample is specific to deleting workbook default permissions, but is an example of the syntax.
@shinchris Hi Chris, thanks for the response. Within the GUI, you can have the mode be unspecified for users and groups (i.e. you don't have to explicitly deny the user). However, within the documentation for the REST API and the API docs, you can only have Allow or Deny, no empty string or unspecified/unknown.
As you stated, REST API doesn't return unspecified capabilities so you would need to loop through the list of capabilities and see which ones are missing.
This would be an enhancement in TSC to detect and better represent the unspecified capabilities.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Activity
shinchris commentedon Jan 22, 2021
Hi @mbabatunde you should be able to call delete on that specific capability to mimic the GUI behavior. The commented lines at the bottom of this sample is specific to deleting workbook default permissions, but is an example of the syntax.
mbabatunde commentedon Jan 25, 2021
@shinchris Hi Chris, thanks for the response. Within the GUI, you can have the mode be unspecified for users and groups (i.e. you don't have to explicitly deny the user). However, within the documentation for the REST API and the API docs, you can only have
AlloworDeny, no empty string or unspecified/unknown.Is there anyway to do this?
shinchris commentedon Feb 23, 2021
As you stated, REST API doesn't return unspecified capabilities so you would need to loop through the list of capabilities and see which ones are missing.
This would be an enhancement in TSC to detect and better represent the unspecified capabilities.
github-actions commentedon Aug 6, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
github-actions commentedon Aug 21, 2026
Closing due to inactivity. If this is still relevant, please reopen or file a new issue.