Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to fill in the report form in big data how to control whether it is writable by permission

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Big data how to fill in the report through permission control can be written, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

For example, fill in the report how to control the writable properties of some cells in the table through the login user name or role.

As shown below:

If the user name is lis, you can modify the data of the department column, otherwise you can't edit it.

Here, the parameter template is used to control the input of the user name (in a formal project, external parameters can be passed to the report through the report display interface)

To achieve the above effect, the settings in the report are as follows:

In the property bar of cell B3 to the right of the selected department column, set [editable expression] to user=='lis' or user=='lis'?true:false (Note: this expression is written strictly according to the rules of js and cannot use the if () function defined in the report).

And add the corresponding parameters to the report as follows

According to the above settings, the writable permission control of the report can be realized.

The above settings are suitable for local writable control. If you want to achieve global control according to the logged in user, you can use the editable tag value in the display interface, where yes means editable no means non-editable yes by default.

This is the answer to the question about whether big data can fill in the report form through permission control. I hope the above content can be of some help to you, if you still have a lot of doubts to be solved. You can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report