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

Uniqueness of custom fields #161

Open
kiarn opened this issue Aug 7, 2022 · 1 comment
Open

Uniqueness of custom fields #161

kiarn opened this issue Aug 7, 2022 · 1 comment

Comments

@kiarn
Copy link
Member

kiarn commented Aug 7, 2022

Hello @jeffbeck

An user ask about a test of uniqueness of custom fields. It could be pretty convenient to handle e.g. emails for moodle an ensure all given emails are unique among teachers and students.

The begin of the discussion is here : linuxmuster/linuxmuster-webui7#240

It would be great to add an option to sophomorix-user like :

sophomorix-user -u USER --custom1 --uniq students,teachers

Or maybe you have a better idea. What do you think about it ?

Thanks

Arnaud

@PLanB2008
Copy link
Contributor

We definetely have to implement this by ourselves if we want this ability, there is now trigger in LDAP / Samba we can set to make a field Unique.

We also have to keep in mind that our implementation could still be overwritten by other tools which are having write access to our custom fields.

If a field is unique or not should be configurable and not by any means be the default.

I assume this would be quite a bit of work.

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

No branches or pull requests

2 participants