-
Notifications
You must be signed in to change notification settings - Fork 107
orgid -1 -> 0 #260
Comments
That is fine with me |
k, this is low prio though, will probably address this at some point down the road. |
So we cant use 0, as the metrics get rejected for being invalid. |
So as discussed in the PR, we need to make the PublicOrgId configurable, but lets default to 0 |
I don't understand how you reason from the rejected-invalid problem to your proposal of "make the PublicOrgId configurable, but lets default to 0", as that would still not work because the default still would be rejected. |
I dont like the idea of removing the validation rule. It would be too easy for a bug to result in the orgId being the zero value. And this would result in all users being able to see the data being inserted. So just make it configurable. a default of |
can we make the "special org", currently at id=-1 , id=0 instead?
this help to encode orgid's, we can make them uints and save space
the only use of -1 that i'm aware of is for "globally visible data" that any org can see.
and we currently don't use 0. (we do use 1 for the admin org), so this should be pretty easy
The text was updated successfully, but these errors were encountered: