amiv-admintool issueshttps://gitlab.ethz.ch/amiv/amiv-admintool/-/issues2018-05-27T17:15:14Zhttps://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/22Check Permissions before Presenting the Interface2018-05-27T17:15:14ZadietmueCheck Permissions before Presenting the InterfaceBy now, the API is able to inform clients about their allowed actions on a given resource.
In the '_links' section for a GET to events with admin permissions looks like this:
```
< GET /events >
"_links": {
"self": {
...By now, the API is able to inform clients about their allowed actions on a given resource.
In the '_links' section for a GET to events with admin permissions looks like this:
```
< GET /events >
"_links": {
"self": {
"href": "events",
"methods": [
"POST",
"HEAD",
"OPTIONS",
"GET"
],
"title": "events"
}
```
In the "methods" section, the API informs the client about this allowed actions.
Similarly, a GET to the home endpoint '/' can be used to see permissions for all resources:
```
< GET / >
{
"_links": {
"child": [
{
"href": "studydocuments",
"methods": [
"POST",
"HEAD",
"OPTIONS",
"GET"
],
"title": "studydocuments"
},
{
"href": "users",
"methods": [
"POST",
"HEAD",
"OPTIONS",
"GET"
],
"title": "users"
}
(...)
```
This information can be used to determine which tools to display.https://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/32Support for Small Screens (min 1024x768)2018-05-27T15:55:42ZSandro LutzSupport for Small Screens (min 1024x768)The form to edit some item is not scrollable. Therefore it is not possible to see all form fields if the screen is small. This behavior exists at least for `users` and `events`.The form to edit some item is not scrollable. Therefore it is not possible to see all form fields if the screen is small. This behavior exists at least for `users` and `events`.HermannHermannhttps://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/39Warnings for changing GroupAdmins2019-03-26T20:59:09ZHermannWarnings for changing GroupAdminsThe Permission `readWrite` for `/groups` is the ultimative privilige at the API, granting a user to arbitrarily change permissions of all other users for all resources.
To make sure this permission is not granted to anyone by accident, i...The Permission `readWrite` for `/groups` is the ultimative privilige at the API, granting a user to arbitrarily change permissions of all other users for all resources.
To make sure this permission is not granted to anyone by accident, it should be handled seperately from the other permissions and the admintools should add warnings when changing the permissions of a user towards this state. In particular:
* `/groups` should be seperated in the Group Editor UI from all other permissions and marked red, together with an explanation
* there should be a dialogue asking for confirmation when adding `readWrite` access to `/groups` for a group
* there should be a dialogue with an explanation when adding a user to a group that has `readWrite` access to `/groups`.
* there should also be a confirmation dialogue when a user attemps to remove himself from such a group, warning him of loosing accessBetahttps://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/60Show item ids2018-12-04T12:28:15ZadietmueShow item idsHi,
for some tools it is helpful to know the ids of items, e.g. to get the id of the kontakt group to add it to to contractor tool (i.e. allow only users from group with id x)
I can currently get the id by just clicking on the group I ...Hi,
for some tools it is helpful to know the ids of items, e.g. to get the id of the kontakt group to add it to to contractor tool (i.e. allow only users from group with id x)
I can currently get the id by just clicking on the group I want to copying the id from the URL, but I think it would be nice if it were to be displayed somewere on the page as well, maybe in small font at the very top of the item page or so.https://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/75Show indicator for currently active resource item2019-11-20T07:34:34ZSandro LutzShow indicator for currently active resource itemWe should highlight the menu item corresponding to the currently active resource view somehow, so that the inexperienced user can navigate better.We should highlight the menu item corresponding to the currently active resource view somehow, so that the inexperienced user can navigate better.Coding Weekend HS19https://gitlab.ethz.ch/amiv/amiv-admintool/-/issues/131Import new Vorstände and Kommissions-PQ's in a convenient way2019-11-20T07:24:43ZLuzian BieriImport new Vorstände and Kommissions-PQ's in a convenient wayLeaving that here that I won't forget it.Leaving that here that I won't forget it.Luzian BieriLuzian Bieri