Shell command to remove instance-based privileges

Shell command to remove instance-based privileges

book

Article ID: KB0072450

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Administrator (TEA) 2.4.0 or higher

Description

TEA does support removing instance-based privileges via shell command removeprivileges.

Environment

OS: all

Resolution

Below are two sample commands:
removeprivileges '[{"name":"lifecycle","agentId":"BW6Network","objectKey":"test:testAppSpace01:testAppNode01","objectType":"appnode","productName":"BusinessWorks"}]'

removeprivileges
'[{"name":"full_control","agentId":"BW6Network","objectKey":"test:tibco.bw.sample.binding.rest.BookStore.application_1.0.0.ear","objectType":"apparchive","productName":"BusinessWorks"}]'


Attached script for user reference. Please note these tests were done with TEA 2.4.0 hotfix 01 and BW 6.8.0. 

Issue/Introduction

remove instance-based privileges via shell command

Attachments

Shell command to remove instance-based privileges get_app