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

🚀 Feature: about read only prefs #5062

Open
2 tasks done
zdanl opened this issue Jan 30, 2023 · 2 comments
Open
2 tasks done

🚀 Feature: about read only prefs #5062

zdanl opened this issue Jan 30, 2023 · 2 comments
Labels
product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. product / databases Fixes and upgrades for the Appwrite Database.

Comments

@zdanl
Copy link

zdanl commented Jan 30, 2023

🔖 Feature description

as mentioned before, userPrefs 🌈 is a great feature for extensibility 🧬 of fields, like verified ✔️ , but is user-writeable. leaving it not very useful to render internal purposes with solidity.

i am suggesting, once more, userPrefsRo / userPrefsReadOnly / userPrefsVault. visible in the web console, editable in the web console, but only to Administrators, yet extended to the browser.

could we discuss, therefore, adding this functionality? or could one provide "the life of a user field" from MariaDB to Appwrite Web Console, for quick hacks turning full features?

Best,
d

🎤 Pitch

i realize there may be other ways like harnessing database docs to accomplish what we would like to do, but -- if we want to mess with standard appwrite, even in the format of leaving it as a useful pull request and not just bending it to our needs -- how would i, for example, add a "role" field? is there an example of how to integrate this with teams, in a secure way?

but disregarding "role", our application requires a full banking KYC for "verified" users. meaning, our "verified" is different from just the email confirmation "verified" field, and we would like to use it that way.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@stnguyen90 stnguyen90 added product / databases Fixes and upgrades for the Appwrite Database. product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. labels Jan 31, 2023
@stnguyen90
Copy link
Contributor

@zdanl, thanks for creating this issue! 🙏🏼 As you pointed out, we recommend creating a custom collection for this type of data.

Related issue: #4805

how would i, for example, add a "role" field?

This would be a little complicated as there would be multiple places where this would need to be modified. At the very least, the users collection would need to be modified. Then, various places where the user document is used would need to be updated.

@rafagazani
Copy link

Subscribing here, would also like to see this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

3 participants