mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
WebAdmin: allow to pre-select groups on add user page
The admin will still be able to choose different groups Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -54,6 +54,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<th>Allow list</th>
|
||||
<th>Email</th>
|
||||
<th>Description</th>
|
||||
<th>Groups for users</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -68,6 +69,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<td>{{.GetAllowedIPAsString}}</td>
|
||||
<td>{{.Email}}</td>
|
||||
<td>{{.Description}}</td>
|
||||
<td>{{.GetGroupsAsString}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
|
||||
@@ -233,6 +235,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
{
|
||||
"targets": [5,7,8],
|
||||
"visible": false,
|
||||
},
|
||||
{
|
||||
"targets": [9],
|
||||
"render": $.fn.dataTable.render.ellipsis(50, true),
|
||||
"visible": false,
|
||||
}
|
||||
],
|
||||
"scrollX": false,
|
||||
|
||||
Reference in New Issue
Block a user