finereport--permissions assignment and customizing the home page

Source: Internet
Author: User

There are two ways to assign permissions, the first of which is to assign permissions based on departmental positions, and the second is to assign permissions based on roles;

Fr comes with three JQ objects to hold user name parameters/role Parameters/departmental Parameters--$fr _username/$fr _authority/$fr _userposition

according to department position :

To enter the platform as an administrator, open the Rights Assignment module (do not forget to save the edits after the assignment is over):

Show effects after clicking Save (because no roles are defined according to department assignments):

Based on Role assignment:

Define the role first, then specify the object for the role

Finally, assign permissions to the role:

The display results are as follows:

Customize home page:

The first is to create a new homepage or use the default home page

Then define the URL and specify user permissions for the page you created:

Get User name:

Although FR does not provide an object to get a user name, it can be queried by the unique value of the login name:

SQL ("frdemo","select EmpName from Dict_employee where loginname= '" + $fr _username+"'",1,1)

finereport--permissions assignment and customizing the home page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.