feat: Add Admin Groups Management Module
- Introduced a new module for managing user groups (`usrgrp`) in the administration interface. - Implemented CRUD operations for user groups: list, create, rename, and delete. - Added authorization checks to ensure only users with appropriate permissions can manage groups. - Created corresponding frontend JavaScript and SCSS files for the new module. - Updated documentation to reflect the new group management functionality and its authorization model. - Added SQL stored procedures for group management operations. - Established a new login script for database access, ensuring proper security practices.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
}
|
||||
.usrfrm .usr_row {
|
||||
display: grid;
|
||||
grid-template-columns: 2.75rem 1.6fr 1.8fr 8rem;
|
||||
grid-template-columns: 2.75rem 1.4fr 1.6fr 1.6fr 8rem;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.55rem 1rem;
|
||||
@@ -77,6 +77,16 @@
|
||||
color: #555;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.usrfrm .usr_col_groups {
|
||||
color: #555;
|
||||
font-size: 0.9rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.usrfrm .usr_row_hd .usr_col_groups {
|
||||
font-size: inherit;
|
||||
}
|
||||
.usrfrm .usr_pill {
|
||||
display: inline-block;
|
||||
padding: 0.1rem 0.6rem;
|
||||
@@ -110,7 +120,7 @@
|
||||
}
|
||||
.usrfrm .usr_row {
|
||||
grid-template-columns: 2.25rem 1fr;
|
||||
grid-template-areas: "avatar name" "avatar email" "avatar status";
|
||||
grid-template-areas: "avatar name" "avatar email" "avatar groups" "avatar status";
|
||||
}
|
||||
.usrfrm .usr_row_hd {
|
||||
display: none;
|
||||
@@ -125,6 +135,11 @@
|
||||
grid-area: email;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.usrfrm .usr_col_groups {
|
||||
grid-area: groups;
|
||||
font-size: 0.85rem;
|
||||
white-space: normal;
|
||||
}
|
||||
.usrfrm .usr_col_status {
|
||||
grid-area: status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user