Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New user management multiple levels #87

Conversation

AramAlsabti
Copy link
Contributor

Add the option to add multiple rights/levels to a user group (permisison)

Related backend PR

GufCab and others added 30 commits February 23, 2022 12:08
* Added message to prompt when attempting to delete application with SigFox device

* Added message and functionality to check and to prompt when attempting to delete application with SigFox device

* Made the first additions to multicast in frontend. Will try to connect to backend next.

* Minor changes to make it work with backend.

* PR Changes. Also made the check for sigfox devices in detail page, which i missed before.

* Minor changes so detail page will show how updated/created the multicast

* PR Changes + formatting

* Moved two buttons, multicast and datatargets, to a tab bar in application details.

* minor typo fix

* Finalized CRUD in frontend. Removed list maps from datatarget and multicast because of change in requirements - now the multicast and datatarget is in a tab bar in the application detail page.

* Init api key menu item

* changed division in db so the frontend will receive a different promise. Mostly just changed property names because of this change.

* First additions to "add device to multicast". A dropdown is made with all the possible sensors for the application, and the chosen ones is sent to backend.

* Made frontend functionality so you can add devices to a multicast when you update or create. These devices is then shown in detail page.

* made snack for fail to load on multicast edit page

* Show api keys

* removed 2 console logs

* Api key management works

* Cleanup after api key

* Message to multicast. Made the form and service operations to send to backend, which will then handle the request to chirpstack

* Changed details page. Not splitted up in basic details, and lorawan details.

* PR changes plus search function for devices in multicast

* PR changes - fixed pagination for multicast

* Minor snack changes and check if devices is included before sending downlink

* PR Changes

* merge conflicting

* Cleanup

* Remove unique permissions pipe

* API key cleanup

* Fix sigfox group id

* Add edit api key

* Edit API key PR

* Spell organization with "z"

* Multicast text description changes

* Fixed deleted word "adressen" in multicast creation. Is added again.

* Moved hint description under the input form instead of before det input form. Matches the design of the rest of the document.

* FIWARE datatarget (#67)

* Datatarget multi-types administration and new FIWARE Datatarget type

* PR fixes

* DatatargetTypesService pr fixes

* Optimize bulk import and the load on chirpstack (#65)

* Batch bulk import create. Update missing

* Reworked update many and cleanup

* Comment on bulk import

* Added device model error codes

Co-authored-by: nlg <[email protected]>

Co-authored-by: August Andersen <[email protected]>
Co-authored-by: Aram Al-Sabti <[email protected]>
Co-authored-by: augusthjerrild <[email protected]>
Co-authored-by: AramAlsabti <[email protected]>
Co-authored-by: Bartek <[email protected]>
Co-authored-by: nlg <[email protected]>
Visualize timestamp of latest X device messages
functions and supportedunits are sorted alphabetically
…tion-metadata

# Conflicts:
#	src/assets/i18n/da.json
Optional metadata fields when managing an application
# Conflicts:
#	src/app/applications/iot-devices/iot-device.model.ts
#	src/app/shared/error-message.service.ts
#	src/app/shared/helpers/array.helper.ts
#	src/app/shared/pipes/pipes.module.ts
#	src/assets/i18n/da.json
* Init mqtt datatarget

* Mqtt datatarget works. Most of the edit component code is duplicated

* Added details to mqtt datatarget. Mostly duplicated

* Minor typo fix in MQTT Detail component

Co-authored-by: nlg <[email protected]>
* Added columns. Error in lorawan component. Branch blocked until further notice

* Fix TS error

* Add signals to message. Not tested

* Init graph and tabs on device detail page

* Re-design device details page with tabs and history

* Remove lorawan field component. Data is shown now shown under history

* Update data rate colors. Limit to DR7
AramAlsabti and others added 11 commits April 27, 2022 17:36
Show welcome dialog for new logins with previous dashboard content. Dashboard deleted
Removes error when creating SigFox group for organization
* First changes to management of kombit users.

* i18n translations

* Made the form page for entering email and wanted organizations. Redirect to new page when entering and succes. Not possible to enter awaiting-page or new-user page manually by url

* NewKombitUser page done, ready for user information page

* User page. Need to fix console error "undefined length"

* Changed name so it's more clear that it's requestedOrganizations and not actual organizations. Started on moving userpage link and login to top right corner.

* moved help and log out buttons to top right corner

* Next step is to fit padding in top bar. Styling.

* Css styling

* removing if statement. Top bar should visible when first time entering from kombit

* Sending an array of ids instead of org object. OBS on undefined on find.

* fixed undefined on find. Changed some variable names. Removed search bar and user-page when first time login from kombit, but possible to log out.

* Made admin/users so there is two tables. One for existing users and one for users applying. Next step is to make the approve and reject buttons and functionality.

* Made acceptuser page when some user is requesting access to organization.

* Can only press once. Also changed back so new-user back is only called when a user from kombit is logged in and has no email. This specific flow has not been tested since it's not possible to create a test kombit user locally.

* Changed some endpoints so page is allowed

* Changed RejectUserDto to have all the info about the rejected user

Minor code improvements

* Minor code style improvements

Co-authored-by: August Andersen <[email protected]>
Co-authored-by: nlg <[email protected]>
@AramAlsabti AramAlsabti requested a review from GufCab May 17, 2022 16:06
@AramAlsabti AramAlsabti self-assigned this May 17, 2022
nlg and others added 10 commits May 18, 2022 10:38
* Init gateway status overview.

Styling not done. Dummy data

* Adjust gateway status for responsiveness. Added TODOs

* Implement gateway status fetch. Update styling and TODOs

* Reset table page. Update gateway status logic and styling

* Add parent options for paginator and title

* Fix gateway status not fetching on interval change

* Optimize performance on gateway status

* Add comment to latest timestamp method

* Visualize gateway traffic and status (#85)

* Fetch single gateway

* Add empty gateway graphs.

* Visualize gateway packages

* Fix date and merge

Co-authored-by: nlg <[email protected]>

Co-authored-by: nlg <[email protected]>
…r-management-multiple-levels

# Conflicts:
#	src/app/gateway/gateway-detail/gateway-detail.component.ts
#	src/app/gateway/gateway-list/gateway-list.component.ts
#	src/app/shared/pipes/pipes.module.ts
…evels

# Conflicts:
#	src/app/applications/applications-list/applications-list.component.ts
#	src/app/navbar/organisation-dropdown/organisation-dropdown.component.ts
@AramAlsabti AramAlsabti merged commit ba6273b into feature/1242_new-user-management May 19, 2022
@AramAlsabti AramAlsabti deleted the feature/1242_new-user-management-multiple-levels branch May 19, 2022 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants