Linked Roles: Multiple comparison types on the same metadata field #6581
Unanswered
otc-cirdan
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Linked Roles allow a limited number of metadata fields, and each field requires the application to define not only the data type, but also the comparison (
==
,>
,>=
,<
,<=
) that can be performed. In my application, users are assigned a numerical certification level. It's possible that some server owners may want to create one role for each level, while others may want to create a role based on something like "level greater than two". This isn't currently possible unless the application creates two separate metadata fields, one for each type of comparison - which would cause the same data to appear twice on the user's profile, and would waste two of the five metadata slots on a single thing.Instead, it should be possible for server owners to choose which type of numerical comparison to do for each field. (Similarly, it would be helpful to have both "exact equals" and "substring matches" for strings, and it might be useful to have "number within range" i.e. 1 < n < 5 for numerical fields.)
Beta Was this translation helpful? Give feedback.
All reactions