Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 423 improve dashboard and asset listing for admins (#461)
* improve auth behaviour of query utility function, and also give it a better name Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add account attribute to generic_asset Signed-off-by: Nicolas Höning <nicolas@seita.nl> * For admins, show next to assets on dashboard what account they are on Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add switch button to group assets on dashboard by accounts (for admins) Signed-off-by: Nicolas Höning <nicolas@seita.nl> * using asset IDs in marker variable names is safer, as asset names are not unique (anymore) Signed-off-by: Nicolas Höning <nicolas@seita.nl> * Assets Ui page shows all account assets for admin(-reader)s Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add changelog entry Signed-off-by: Nicolas Höning <nicolas@seita.nl> * correct treatmnt of session in CRUD asset views, remove unnecessary attribute added earlier Signed-off-by: Nicolas Höning <nicolas@seita.nl> * fix one more test Signed-off-by: Nicolas Höning <nicolas@seita.nl> * implement review comments Signed-off-by: Nicolas Höning <nicolas@seita.nl> * Let the asets page display public assets. Add GET /assets/public endpoint, so public assets can be read as well (/assets needs an account, so this is the only clean solution). Signed-off-by: Nicolas Höning <nicolas@seita.nl>
- Loading branch information
Showing
16 changed files
with
256 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.