Revert "feat(blog): add Visibility { Private, Public } to gate post reads"
This reverts commit 33ecfa7ebd.
This commit is contained in:
parent
33ecfa7ebd
commit
42625f5ddd
16 changed files with 46 additions and 5427 deletions
|
|
@ -19,18 +19,6 @@ public class BlogPostDto : IBlogPost
|
|||
public string UserModified { get; set; }
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Visibility of this post. Mirrors the EF entity
|
||||
/// <c>Yavsc.Models.Blog.BlogPost.Visibility</c>: serialised
|
||||
/// as an <c>int</c> by <c>System.Text.Json</c> (the enum's
|
||||
/// underlying type), so clients see <c>0</c> or <c>1</c>
|
||||
/// rather than <c>"Private"</c>/<c>"Public"</c>. Defaults
|
||||
/// to <see cref="Visibility.Private"/> on construction, so
|
||||
/// existing client code that doesn't set it explicitly
|
||||
/// stays safe (private-by-default).
|
||||
/// </summary>
|
||||
public Visibility Visibility { get; set; } = Visibility.Private;
|
||||
|
||||
public bool AuthorizeCircle(long circleId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue