mirror of
https://github.com/bitwarden/server
synced 2026-01-09 12:03:21 +00:00
Enhance XML documentation for Premium property in OrganizationUserUserDetails and User classes to clarify its usage and limitations regarding personal and organizational premium access.
This commit is contained in:
@@ -21,7 +21,9 @@ public class OrganizationUserUserDetails : IExternal, ITwoFactorProvidersUser, I
|
||||
public string AvatarColor { get; set; }
|
||||
public string TwoFactorProviders { get; set; }
|
||||
/// <summary>
|
||||
/// User's personal premium subscription status. Does not reflect organization premium access.
|
||||
/// Indicates whether the user has a personal premium subscription.
|
||||
/// Does not include premium access from organizations -
|
||||
/// do not use this to check whether the user can access premium features.
|
||||
/// Null when the organization user is in Invited status (UserId is null).
|
||||
/// </summary>
|
||||
public bool? Premium { get; set; }
|
||||
|
||||
@@ -71,7 +71,8 @@ public class User : ITableObject<Guid>, IStorableSubscriber, IRevisable, ITwoFac
|
||||
public string? SecurityState { get; set; }
|
||||
/// <summary>
|
||||
/// Indicates whether the user has a personal premium subscription.
|
||||
/// Does not include premium access from organizations.
|
||||
/// Does not include premium access from organizations -
|
||||
/// do not use this to check whether the user can access premium features.
|
||||
/// </summary>
|
||||
public bool Premium { get; set; }
|
||||
public DateTime? PremiumExpirationDate { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user