Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Seatunnel Web] Permission control optimization #8515

Open
2 of 3 tasks
zhangshenghang opened this issue Jan 13, 2025 · 2 comments
Open
2 of 3 tasks

[Seatunnel Web] Permission control optimization #8515

zhangshenghang opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels

Comments

@zhangshenghang
Copy link
Member

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

Currently, it is through manual invocation of methods as follows:

        funcPermissionCheck(SeatunnelFuncPermissionKeyConstant.DATASOURCE_LIST, userId);

We should implement this function through the idea of AOP.

Example:

    @PreAuthorize("@ss.hasPermi('monitor:job:list')")
    @GetMapping("/list")
    public TableDataInfo list(SysJob sysJob)
    {
        startPage();
        List<SysJob> list = jobService.selectJobList(sysJob);
        return getDataTable(list);
    }

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@fcb-xiaobo
Copy link
Contributor

please assign me,thanks

@zhangshenghang
Copy link
Member Author

thanks @fcb-xiaobo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants