Registration validation
Describe the solution you'd like
It would be great if I could manually accept user registrations. When I have for example SSO turned on, anyone can register and use my memos deployment. I'd like to be able to accept who gets access and who doesn't.
Type of feature
User Experience (UX)
Additional context
No response
So if I understand it correctly you want users to register but restrict their access until you, as the admin, manually review and accept their request and only then they should be given full access.
Yes, exactly. The scenario is I have a memos instance for family and friends, it's easy for them to use Gmail as an auth option, but random people can also register, that doesn't suite me. If I can review who gets in, it makes it great.
yeah I never worked on anything like this before but I will try to look into it
This seems like a sizable feature, regardless of if it gets built, if you arent expecting too many people to join you could turn on registration in the settings till your family/friends registered and then turn off registrations after. Or you can turn off registration and send out manually created logins
This seems like a sizable feature, regardless of if it gets built, if you arent expecting too many people to join you could turn on registration in the settings till your family/friends registered and then turn off registrations after. Or you can turn off registration and send out manually created logins
but I noticed that the latest version removes the environment variable about public for whether to enable registration or not.
1167df29d8dbb17ec54f3b941c6851faccc06bb6 Command for public was deleted, So, How to enable or disable registration in the current version
That removal is from container startup, its a setting now so you can turn it on and off as you require
there is no system settting config on my google chrome, system os is debian and macos catalina, but firefox is working fine
Only host level users get to see the system menu item in settings. Are you logged in with the same user on all browsers?
Issue is not in English. It has been translated automatically.
the first is google chrome, the second is firefox
google chrome version is 129.0.6668.100
Unable to replicate. Do you have any browser extensions in chrome that would remove the content? Or perhaps some customer javascript in your Additional script section
Unable to replicate. Do you have any browser extensions in chrome that would remove the content? Or perhaps some customer javascript in your
Additional scriptsection
thx, you are right,working fine on chrome's incognito mode
In the SSO configuration, there is an identifier filter used to generate a regular expression to filter the allowed identifiers.
https://github.com/usememos/memos/blob/main/server/router/api/v1/auth_service.go#L113
@johnnyjoygh this seems like one way to achieve what I want, not very user friendly, but it should work, thanks for the tip!
I also host a memos site for family members and friends only. I have this workaround:
- As host user, in Settings/System: enable "Disallow user registration", disable "Disallow password auth"
- In Settings/Member, create a new user upon request, with an initial password
- Ask the new user to log in and change their password; if they want, they can also change their "Username" (disable "Disallow Change Username") and "Nickname" (disable "Disallow Change Nickname")
