123123
This commit is contained in:
@@ -9,36 +9,36 @@ namespace ZelWiki.Library.Interfaces
|
||||
IQueryCollection? QueryString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user (or anonymous) allowed to view?
|
||||
///
|
||||
/// </summary>
|
||||
public bool CanView => true;
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user allowed to edit?
|
||||
///
|
||||
/// </summary>
|
||||
public bool CanEdit { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user allowed to perform administrative functions?
|
||||
/// 是否允许当前用户执行管理功能?
|
||||
/// </summary>
|
||||
public bool CanAdmin { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user allowed to moderate content (such as delete comments, and view moderation tools)?
|
||||
/// 是否允许当前用户审核内容(如删除评论和查看审核工具)?
|
||||
/// </summary>
|
||||
public bool CanModerate { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user allowed to create pages?
|
||||
///是否允许当前用户创建页面?
|
||||
/// </summary>
|
||||
public bool CanCreate { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the current user allowed to delete unprotected pages?
|
||||
/// 是否允许当前用户删除未受保护的页面?
|
||||
/// </summary>
|
||||
public bool CanDelete { get; }
|
||||
|
||||
public DateTime LocalizeDateTime(DateTime datetime);
|
||||
public TimeZoneInfo GetPreferredTimeZone();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user