Closed srenault-meeds closed 1 year ago
did a few edits. the section about "We plan to provide a third option: " should not be included in the functional requirements. A comment in the discussion below is enough IMO.
did a few edits. the section about "We plan to provide a third option: " should not be included in the functional requirements. A comment in the discussion below is enough IMO.
Updated accordingly and here the comment:
We plan to provide a third option: Platform is set under validation: registered users are considered internal and anyone using the self-registration is considered external. However, we won't implement it for now as:
- Authentication page needs to be adjusted for this case to precise this case and make it understandable for users
- We need to provide a setting to admin to list adress and domain name to be considered as internal even when self-registrating
Second option: (enterprise packaging)
Have we an enterprise packaging in Meeds DAO ?
I find that multiple terms aren't defined in this UI to onboard an administrator. What is an external user ? What is a space host ? What is exactly the impact of any choice ? How to read more about any choice that an admin would use globally on the community ? The "precisions" made in the spec should be precised in UI as well IMO. The UI has to be IMHO self explanatory for a better UX and Community/Hub manager onboarding.
@srenault-meeds have we a Go-func on this to be able to proceed on tech spec ?
Hello, It was something decided during a PC to not identify eXo so this is why I used the "enterprise packaging" label. Anyway, I updated it. Regarding better UX, I agree we can do better, let's talk about it. Now, I don't think it is blocker to have a go-func.
@margondicco Can you please help us and tell us if you have any question? Thanks
Hello ok go fonc for me
Thanks. CC @boubaker
Ready for Tech review @rdenarie
Removed the metamask option from there as this is not in the meeds package for now. Will be elaborated later in another MIP
Ready for Tech review @rdenarie
Ready for Review with PRs:
You can set default values for properties in eXo package if needed:
( see technical specification for default and possible values )
As I understand, on exo side, we must change default properties values to have :
meeds.settings.access.type.default=restricted meeds.settings.access.externalUsers=true
So that we keep the actual behaviour ?
cc @boubaker
So that we keep the actual behaviour ?
Yes
Property names seems to be different as the specified ones : meeds.security.registration.type instead of meeds.security.access.type.default meeds.security.registration.externalUser instead of meeds.settings.access.externalUsers meeds.security.registration.extraGroups is new property.
Can you update the tech spec according to change the names and add the new property ?
Property names seems to be different as the specified ones
Ah yes, the property names has been changed in codebase (I forgot to update it here) to fit the ones specified in MIP. (Nothing changed in MIP spec)
Can you update the tech spec according to change the names and add the new property ?
Property deleted from codebase to fit the exact property names proposed in Tech spec.
Thanks for your help.
All comments in PRs considered @rdenarie
All PRs validated
Thanks, PRs merged.
Rationale
It is possible to configure a Meeds server as Opened so anyone can sign up. Alternatively, it is also possible to set a Meeds server as Restricted so only known users can sign in. Besides, it's also possible to configure how self registered users will be considered (members or external).
Currently, these settings can only be set by updating platform properties on the server host. As a hub admin, you can't switch these settings via UI. While at meeds, we aim to give capabilities for any Hub Host to manage and administrate their hub on their own as a self service software.
1. Functional Requirements
From the administration menu, General/Access settings, admin display access settings to precise how users will be able to login into the platform
In addition to this, admin will find an easy access to create users from that page so the path to create users is easy and quickly understandable.
And finally, to ease the onboarding of any user accessing the platform the first time, the admin would get an option to set spaces as default for platform/users or platform/externals
2. Technical Requirements
Extensibility
No extensible area nor service is needed for now.
Configurability
meeds.settings.access.type.default
open
open
orrestricted
. This will allow to choose the default setting of package. For Meed the access type will be put by default toopen
meeds.settings.access.externalUsers
false
false
ortrue
. This will allow to choose the default setting of package. For Meed the registered users will be put by default tointernal
Upgradability
No upgrade is needed.
Existing Features
The configuration, enablement of
Oauth
provider for login shouldn't be impacted by this change. It should remain exactly with the same property settings to be enabled.Feature Flags
No Feature Flag is needed.
4. Software Architecture
Security
Access
The same Portlet
General Settings
will be used an refactored to allow the display of three Tabs. A REST endpoint for Hub Access configuration have to be made in order to allow read & write the Hub access settings. This REST endpoint has to be accessible for administrators only (/platform/administrators
)Data and persistence
Since the settings are stored globally for the whole platform. One single entity instance will be needed, thus no need to add a dedicated Storage & DAO layers. The
SettingService
should be used instead to store the Hub Access settings.