authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
81 stars 37 forks source link

Separate forbid create / update / delete identities config #4229

Closed tung2744 closed 5 months ago

tung2744 commented 5 months ago

Config Changes

identity:
  login_id:
    keys:
      - key: email
        type: email
        max_length: 320
        modify_disabled: false # Deprecated
        update_disabled: false # New
        create_disabled: false # New
        delete_disabled: false # New
  oauth:
    providers:
      - type: google
        alias: google
        modify_disabled: false # Deprecated
        create_disabled: false # New
        delete_disabled: false # New

Portal UI

Settings UI

linear[bot] commented 5 months ago

DEV-1313 Separate forbid create / update / delete identities config

fungc-io commented 5 months ago

@tung2744 please update the UI in the settings page as follow:

image.png
tung2744 commented 5 months ago

@fungc-io

It seems we don't have outline button in the old ui design.

tung2744 commented 5 months ago

I tried to make a new button based on the "select another account" button, please see if it is ok:

Normal state:

Screenshot 2024-05-22 at 7.12.32 PM.png

Hover:

Screenshot 2024-05-22 at 7.12.37 PM.png
fungc-io commented 5 months ago

@tung2744 sorry, i thought we have an existing design like this. let me try sth out and get back to you tmr

fungc-io commented 5 months ago

@tung2744 i've look at the design we had and i believe this fits the best: https://www.figma.com/design/msiE4O5imHONAG5EjhZeiZ/Authgear-UI?node-id=6880-104925&t=dPhoxtPuc7qQLx91-1

Example screen (not implemented):

image.png

But red for delete button should be used instead of green here, same color as the unlink button

image.png
tung2744 commented 5 months ago

Screen Recording 2024-05-27 at 7.32.34 PM.mov

@fungc-io Please see this updated ui

fungc-io commented 5 months ago

Thanks, how about changing this button to "Update xxx" too?

image.png