Skip to content

Having a permissions "Unknown" status #774

Open

Description

@mbabatunde

Hi,

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"?

If not, will this be in an upcoming feature?

Thanks

Activity

  1. shinchris commented on Jan 22, 2021

    @shinchris
    Contributor

    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.

  2. mbabatunde commented on Jan 25, 2021

    @mbabatunde
    Author

    @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.

    Is there anyway to do this?

  3. shinchris commented on Feb 23, 2021

    @shinchris
    Contributor

    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.

  4. github-actions commented on Aug 6, 2026

    @github-actions

    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.

  5. github-actions commented on Aug 21, 2026

    @github-actions

    Closing due to inactivity. If this is still relevant, please reopen or file a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions