-
Notifications
You must be signed in to change notification settings - Fork 554
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
Updating naming conventions for postgate-related attributes #2701
Conversation
4306bf3
to
f2c962a
Compare
@@ -16,16 +16,16 @@ | |||
"format": "at-uri", | |||
"description": "Reference (AT-URI) to the post record." | |||
}, | |||
"detachedQuotes": { | |||
"detachedEmbeddingUris": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're in here I wonder if we may want to sync-up the terminology on embed views. Currently there's a #viewRemoved
lexicon that gets used within the posts listed on this field. For consistency perhaps that should become #viewDetached
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a final thought or two, but this is looking good! 👍
}, | ||
"quotepostRules": { | ||
"embeddingRules": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On threadgate records the corresponding property is called allow
, which contains the rules determining whether a given reply is allowed.
I am not opposed to embeddingRules
, though if we want to be really consistent with threadgates it might become something like allowEmbedding
. I'll leave it up to you and @brianolson whether you want to adopt that change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few people noted that an empty list of allow rules being implicitly deny is less clear than an explicit deny rule. it's also a little weird because nil-record is different than empty-record. so I'm in favor of the explicit deny rule. I think this implicitly makes the logic that you can have deny rules and allow rules, and I'd interpret an allow rule as superseding the deny rule. {deny *, allow foo, allow bar}
does allow foo and bar
No description provided.