feat(admin): enable multi-users (#67)
* feat(userstore): support ListUsers * feat(userstore): support del users * feat(multiusers): support list users and delete user apis * feat(client/web): add new apis to web client * fix(ui/panes): move each pane out of the container * feat(ui): add admin pane * feat(users): support force set password api * feat(ui/admin-pane): add functions to admin pane * feat(users): support self API and move uploading folder to home * fix(users): remove home folder when deleting user * fix(ui): remove useless function * feat(ui/panes): hide admin menu if user is not admin * fix(server/files): list home path is incorrect * fix(server): 1.listHome return incorrect cwd 2.addUser init folder with incorrect uid 3.check ns before using * test(server): add regression test cases * test(users, files): add e2e test for concurrent operations * fix(test): clean ups
This commit is contained in:
parent
916ec7c2dc
commit
aefaca98b3
28 changed files with 1562 additions and 478 deletions
|
@ -69,21 +69,26 @@
|
|||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 100;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
#panes .container {
|
||||
#panes .root-container {
|
||||
max-width: 80rem;
|
||||
width: 96%;
|
||||
background-color: white;
|
||||
z-index: 101;
|
||||
text-align: left;
|
||||
margin: 3rem auto 8rem auto;
|
||||
border-radius: 0.6rem;
|
||||
}
|
||||
|
||||
#panes .container {
|
||||
background-color: white;
|
||||
margin: 3rem auto 1rem auto;
|
||||
border-radius: 0.6rem;
|
||||
}
|
||||
|
||||
#panes .return-btn {
|
||||
position: fixed;
|
||||
max-width: 960px;
|
||||
|
@ -133,12 +138,17 @@
|
|||
border-top: solid 1px transparent;
|
||||
}
|
||||
|
||||
#item-list .dot {
|
||||
.container .dot {
|
||||
overflow: hidden;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#panes .dot {
|
||||
overflow: hidden;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#item-list .vbar {
|
||||
overflow: hidden;
|
||||
margin: 1.5rem 1rem;
|
||||
|
@ -164,6 +174,14 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
.item-name {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow-wrap: break-word;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#item-list .item-op {
|
||||
line-height: 4rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue