changxue created IOTDB-5357:
-------------------------------

             Summary: [privilege] show triggers and show functions should 
require less privileges on timeseries
                 Key: IOTDB-5357
                 URL: https://issues.apache.org/jira/browse/IOTDB-5357
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: changxue
            Assignee: Yuan Tian


[privilege] show trigger and show functions should require less privileges on 
timeseries

actual result:
"show triggers" and "show functions" require READ privilege on root.**, or it 
would return 803.

consider this scenario:
Suppose 2 company share 1 IoTDB service and they own their own databse, now 
grant them privileges on root.sg1.** or root.sg2.** and they own different 
triggers and UDF. When using show triggers or show functions, they would like 
to get different result what the actual triggers or UDFs are rather than an 
error with privilage.

expect:
"show triggers" and "show functions" only show the results on the timeseries 
which they have READ privilege.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to