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

feat:用户个人视角 权限管理优化 #11138 #11215

Merged
merged 33 commits into from
Dec 26, 2024

Conversation

fcfang123
Copy link
Collaborator

feat:用户个人视角 权限管理优化 #11138

WHERE TABLE_SCHEMA = db
AND TABLE_NAME = 'T_AUTH_RESOURCE_AUTHORIZATION'
AND INDEX_NAME = 'HANDOVER_FROM_PROJECT_CODE_INDEX') THEN
ALTER TABLE T_AUTH_RESOURCE_AUTHORIZATION ADD INDEX `HANDOVER_FROM_PROJECT_CODE_INDEX` (`HANDOVER_FROM`,`PROJECT_CODE`);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ddl也应该补充

/**
* 获取交接单中授权相关
* */
fun listAuthorizationsOfHandoverApplication(queryReq: HandoverDetailsQueryReq): SQLPage<HandoverAuthorizationDetailVo>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

超长

* */
override fun generateFlowNo(): String {
val currentTime = DateTimeUtil.toDateTime(LocalDateTime.now(), DateTimeUtil.YYYYMMDD)
val incrementedValue = redisOperation.increment(String.format(FLOW_NO_KEY, currentTime), 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该增加1天的过期时间,redisOperation.expire

}
}
// 若交接人已经在用户组内,无需交接。
authResourceGroupMemberDao.isMemberInGroup(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要判断被交接人权限是否已经过去

@bkci-bot bkci-bot added the for test Test environment in tencent has been deploy label Dec 23, 2024
@fcfang123 fcfang123 closed this Dec 25, 2024
@fcfang123 fcfang123 reopened this Dec 25, 2024
@fcfang123 fcfang123 closed this Dec 25, 2024
@fcfang123 fcfang123 reopened this Dec 25, 2024
@fcfang123 fcfang123 added the tested 测试环境通过/test patest passed for test stage label Dec 26, 2024
@fcfang123 fcfang123 self-assigned this Dec 26, 2024
@bkci-bot bkci-bot merged commit 346ca8c into TencentBlueKing:master Dec 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for test Test environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants