Swig TS — API References
    Preparing search index...

    Function ensureProgramAction

    • Helper function to ensure ProgramAll action is added if no program-related actions exist This is only used when adding new authorities, not when creating the initial swig. Root authorities should only have All or ManageAuthority permissions.

      Parameters

      • actions: Actions

        The actions to check and potentially modify

      Returns Actions

      Actions with ProgramAll added if no program actions were present