[KYUUBI #5985] [AUTHZ][MINOR] Remove incorrect getUri method

# 🔍 Description
## Issue References 🔗

This pull request remove incorrect getUri method in authZ module, This method is currently not applicable in any context, and it is incorrect as it ought to return a List type rather than a String.

## Describe Your Solution 🔧

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #5985 from Yikf/remove-incorrect-getUrl.

Closes #5985

93ee5498e [yikaifei] remove incorrect getUri

Authored-by: yikaifei <yikaifei@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
yikaifei 2024-01-17 09:50:53 +08:00 committed by Cheng Pan
parent a4345ee462
commit e9e2d189ba
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -38,7 +38,6 @@ class AccessResource private (val objectType: ObjectType, val catalog: Option[St
val columnStr = getColumn
if (columnStr == null) Nil else columnStr.split(",").filter(_.nonEmpty)
}
def getUrl: String = getValue("url")
}
object AccessResource {