mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add archived users view
This commit is contained in:
1 parent
fe04d22c94
commit
e65234b4c8
4 files changed
+50
-9
No files matched your search
@@ -65,6 +65,7 @@ class User < ApplicationRecord
|
||||
attribute :uuid, :string, default: -> { SecureRandom.uuid }
|
||||
|
||||
scope :active, -> { where(archived_at: nil) }
|
||||
scope :archived, -> { where.not(archived_at: nil) }
|
||||
scope :admins, -> { where(role: ADMIN_ROLE) }
|
||||
|
||||
def access_token
|
||||
|
||||
Reference in new issue
Block a user