Skip to content

Conversation

@morningman
Copy link
Contributor

bp #33347

zddr and others added 2 commits April 22, 2024 13:05
- Modified permission prompt information: added display of which permission items are required to perform the current operation, removed prompt information for "current user" and "IP"
- `AdminCopyTablet` use `PrivPredicate.ADMIN` check auth, before is `PrivPredicate.OPERATOR`
- `row policy` use `PrivPredicate.GRANT`
- `storage policy` keep `PrivPredicate.ADMIN` unchanged
- `create/alter view` need has `select_priv` on base table
- `cancel alter system` need `PrivPredicate.OPERATOR`
- `drop sync materialized view` need `alter_priv` before is `drop_priv`
- `SetLdapPassVar` need `admin_priv` before only `root/admin` can do
- `ShowCatalogRecycleBin` use `PrivPredicate.ADMIN`
-  `ShowCreateRepository` use `PrivPredicate.ADMIN`
- `ShowDataRepository` use `PrivPredicate.ADMIN`
- `ShowEncryptKey` use `PrivPredicate.ADMIN`
- `ShowPlugins` use `PrivPredicate.ADMIN`
- `ShowRepositories` use `PrivPredicate.ADMIN`
- `ShowSnapshot` use `PrivPredicate.ADMIN`
- `ShowTabletsBelong` use `PrivPredicate.ADMIN`
- `ShowTranscation` use `PrivPredicate.ADMIN`
- `show create db` use `show` instead of `PrivPredicate.ALTER_CREATE_DROP`
- `cancel export`,if table size >1,use `db.PrivPredicate.SELECT`,else use `table.PrivPredicate.SELECT`
- `show stream load`,`table.PrivPredicate.LOAD`
- `show load`,if table size >1, use `db.PrivPredicate.LOAD`,else use `table.PrivPredicate.LOAD`
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman morningman merged commit 98e90dd into apache:branch-2.1 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants