Class: SupportOps::GitLab::Users
- Defined in:
- lib/support_ops_gitlab/gitlab/users.rb
Overview
Upload an avatar for yourself > docs.gitlab.com/api/users/#upload-an-avatar-for-yourself
Get a count of your assigned issues, merge requests, and reviews > docs.gitlab.com/api/users/#get-a-count-of-your-assigned-issues-merge-requests-and-reviews
Get a count of a user’s projects, groups, issues, and merge requests > docs.gitlab.com/api/users/#get-a-count-of-a-users-projects-groups-issues-and-merge-requests
List a user’s activity > docs.gitlab.com/api/users/#list-a-users-activity
Create a runner linked to a user > docs.gitlab.com/api/users/#create-a-runner-linked-to-a-user
Delete authentication identity from a user > docs.gitlab.com/api/users/#delete-authentication-identity-from-a-user
Follow a user > docs.gitlab.com/api/user_follow_unfollow/#follow-a-user
Unfollow a user > docs.gitlab.com/api/user_follow_unfollow/#unfollow-a-user
List all accounts that follow a user > docs.gitlab.com/api/user_follow_unfollow/#list-all-accounts-that-follow-a-user
List all accounts followed by a user > docs.gitlab.com/api/user_follow_unfollow/#list-all-accounts-followed-by-a-user
Get the status of a user > docs.gitlab.com/api/users/#get-the-status-of-a-user
Set your user status > docs.gitlab.com/api/users/#set-your-user-status
Get your user preferences > docs.gitlab.com/api/users/#get-your-user-preferences
Update your user preferences > docs.gitlab.com/api/users/#update-your-user-preferences
Have disable_2fa! update User object to reflect the change
Have deactivate! update User object to reflect the change
Have activate! update User object to reflect the change
Have ban! update User object to reflect the change
Have unban! update User object to reflect the change
Have block! update User object to reflect the change
Have unblock! update User object to reflect the change
Document projects
Defines the class Users within the module SupportOps::GitLab.
Instance Attribute Summary collapse
-
#avatar_url ⇒ String
URL of the user’s avatar.
-
#bio ⇒ String
User’s biography.
-
#can_create_group ⇒ Boolean
User can create groups.
-
#can_create_project ⇒ Boolean
User can create projects.
-
#color_scheme_id ⇒ Integer
User’s color scheme for the file viewer.
-
#commit_email ⇒ String
User’s commit email.
-
#confirmed_at ⇒ String
Timestamp the user’s account was confirmed at.
-
#created_at ⇒ String
Timestamp the user’s account was created at.
-
#created_by ⇒ Interger
The ID of whomever created the user.
-
#current_sign_in_at ⇒ String
Timestamp the user’s most current login.
-
#current_sign_in_ip ⇒ String
IP address used for most current login.
-
#discord ⇒ String
Discord account.
-
#email ⇒ String
User’s email.
-
#email_reset_offered_at ⇒ String
Timestamp the user’s got a reset email sent.
-
#external ⇒ Boolean
Flags the user as external.
-
#extra_shared_runners_minutes_limit ⇒ Integer
Additional compute minutes for this user.
-
#followers ⇒ Integer
Count of accounts following the user.
-
#following ⇒ Integer
Count of accoutns the user is following.
-
#force_random_password ⇒ Boolean
Set user password to a random value.
-
#github ⇒ String
GitHub username.
-
#group_saml ⇒ Integer
Group ID the user is tied to SAML by.
-
#id ⇒ Integer
User’s ID.
-
#identities ⇒ Array
User’s external identities.
-
#is_admin ⇒ Boolean
If the user is an admin or not.
-
#is_auditor ⇒ Boolean
If the user is an auditor or not.
-
#job_title ⇒ String
User’s job title.
-
#last_activity_on ⇒ String
Timestamp of last actity for the user.
-
#last_sign_in_at ⇒ String
Timestamp fo the user’s last login.
-
#last_sign_in_ip ⇒ String
IP of the user’s last login.
-
#linkedin ⇒ String
LinkedIn.
-
#local_time ⇒ String
Human readable format of user’s local time.
-
#location ⇒ String
User’s location.
-
#locked ⇒ Boolean
If the user is locked or not.
-
#name ⇒ String
Name.
-
#namespace_id ⇒ Integer
User’s namespace ID.
-
#note ⇒ String
Administrator notes for this user.
-
#organization ⇒ String
Organization name.
-
#password ⇒ String
Password.
-
#plan ⇒ String
Subscription type for the user’s account.
-
#private_profile ⇒ Boolean
User’s profile is private.
-
#projects_limit ⇒ Integer
Number of projects user can create.
-
#pronouns ⇒ String
User’s pronouns.
-
#provisioned_by_group_id ⇒ Integer
The group ID that provisioned the user.
-
#public_email ⇒ String
User’s public email address.
-
#reset_password ⇒ Boolean
Send user password reset link.
-
#scim_identities ⇒ Array
User’s SCIM identities.
-
#shared_runners_minutes_limit ⇒ Integer
Maximum number of monthly compute minutes for this user.
-
#sign_in_count ⇒ Integer
Number of times user has signed in.
-
#skype ⇒ String
Skype ID.
-
#state ⇒ String
User’s account state.
-
#theme_id ⇒ Integer
GitLab theme for the user.
-
#trial ⇒ Boolean
If the user is using a trial or not.
-
#twitter ⇒ String
X (formerly Twitter) account.
-
#two_factor_enabled ⇒ Boolean
If the user has 2FA activated on the account.
-
#username ⇒ String
Username.
-
#web_url ⇒ String
Link to the user’s profile.
-
#website_url ⇒ String
Website URL.
-
#work_information ⇒ String
The current value of work_information.
Class Method Summary collapse
-
.current ⇒ Object
Fetches the current user from the GitLab system.
-
.get(object) ⇒ Object
Locates a specific user in the GitLab system.
-
.get!(object) ⇒ Object
Locates a specific user in the GitLab system.
-
.list(key: value) ⇒ Array
Lists users in the GitLab system.
Instance Method Summary collapse
-
#activate! ⇒ Boolean
Reactivates a user.
-
#approve! ⇒ Boolean
Approves access to a user.
-
#ban! ⇒ Boolean
Bans a user.
-
#block! ⇒ Boolean
Blocks a user.
-
#deactivate! ⇒ Boolean
Deactivates a user.
-
#delete! ⇒ Boolean
Deletes a user.
-
#disable_2fa! ⇒ Boolean
Lists email addresses for a user.
-
#events ⇒ Boolean
List events for a user.
-
#gpg_keys ⇒ Boolean
Lists GPG keys for a user.
-
#hard_delete! ⇒ Boolean
Hard deletes a user.
-
#impersonations ⇒ Boolean
List impersonation tokens for a user.
-
#memberships ⇒ Boolean
List projects and groups that a user is a member of.
-
#pats ⇒ Boolean
List personal access tokens for a user.
-
#reject! ⇒ Boolean
Rejects access to a user.
-
#save! ⇒ Object
Creates/updates a user.
-
#ssh_keys ⇒ Boolean
Lists SSH keys for a user.
-
#tokens ⇒ Boolean
List tokens (personal access and impersonation) for a user.
-
#unban! ⇒ Boolean
Unbans a user.
-
#unblock! ⇒ Boolean
Unblocks a user.
Methods inherited from Base
attributes, #badges, client, #client=, #commits, configure, #contributors, #create_support_pin!, define_attributes, #diffs, #discussions, #emails, #encoded_path, #find, #find!, #initialize, #issues, #jobs, #latest_pipeline, #members, #merge_requests, #move!, #notes, #paid?, #pipeline_variables, #pipelines, #preferences, #projects, readonly_attributes, #revoke!, #rotate!, #status, #store_original_attributes, #subscribe!, #support_pin, to_hash, #unsubscribe!, #webhooks
Constructor Details
This class inherits a constructor from SupportOps::GitLab::Base
Instance Attribute Details
#avatar_url ⇒ String
URL of the user’s avatar
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def avatar_url @avatar_url end |
#bio ⇒ String
User’s biography
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def bio @bio end |
#can_create_group ⇒ Boolean
User can create groups
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def can_create_group @can_create_group end |
#can_create_project ⇒ Boolean
User can create projects
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def can_create_project @can_create_project end |
#color_scheme_id ⇒ Integer
User’s color scheme for the file viewer
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def color_scheme_id @color_scheme_id end |
#commit_email ⇒ String
User’s commit email
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def commit_email @commit_email end |
#confirmed_at ⇒ String
Timestamp the user’s account was confirmed at
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def confirmed_at @confirmed_at end |
#created_at ⇒ String
Timestamp the user’s account was created at
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def created_at @created_at end |
#created_by ⇒ Interger
The ID of whomever created the user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def created_by @created_by end |
#current_sign_in_at ⇒ String
Timestamp the user’s most current login
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def current_sign_in_at @current_sign_in_at end |
#current_sign_in_ip ⇒ String
IP address used for most current login
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def current_sign_in_ip @current_sign_in_ip end |
#discord ⇒ String
Discord account
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def discord @discord end |
#email ⇒ String
User’s email
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def email @email end |
#email_reset_offered_at ⇒ String
Timestamp the user’s got a reset email sent
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def email_reset_offered_at @email_reset_offered_at end |
#external ⇒ Boolean
Flags the user as external
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def external @external end |
#extra_shared_runners_minutes_limit ⇒ Integer
Additional compute minutes for this user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def extra_shared_runners_minutes_limit @extra_shared_runners_minutes_limit end |
#followers ⇒ Integer
Count of accounts following the user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def followers @followers end |
#following ⇒ Integer
Count of accoutns the user is following
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def following @following end |
#force_random_password ⇒ Boolean
Set user password to a random value
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def force_random_password @force_random_password end |
#github ⇒ String
GitHub username
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def github @github end |
#group_saml ⇒ Integer
Group ID the user is tied to SAML by
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def group_saml @group_saml end |
#id ⇒ Integer
User’s ID
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def id @id end |
#identities ⇒ Array
User’s external identities
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def identities @identities end |
#is_admin ⇒ Boolean
If the user is an admin or not
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def is_admin @is_admin end |
#is_auditor ⇒ Boolean
If the user is an auditor or not
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def is_auditor @is_auditor end |
#job_title ⇒ String
User’s job title
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def job_title @job_title end |
#last_activity_on ⇒ String
Timestamp of last actity for the user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def last_activity_on @last_activity_on end |
#last_sign_in_at ⇒ String
Timestamp fo the user’s last login
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def last_sign_in_at @last_sign_in_at end |
#last_sign_in_ip ⇒ String
IP of the user’s last login
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def last_sign_in_ip @last_sign_in_ip end |
#linkedin ⇒ String
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def linkedin @linkedin end |
#local_time ⇒ String
Human readable format of user’s local time
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def local_time @local_time end |
#location ⇒ String
User’s location
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def location @location end |
#locked ⇒ Boolean
If the user is locked or not
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def locked @locked end |
#name ⇒ String
Name
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def name @name end |
#namespace_id ⇒ Integer
User’s namespace ID
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def namespace_id @namespace_id end |
#note ⇒ String
Administrator notes for this user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def note @note end |
#organization ⇒ String
Organization name
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def organization @organization end |
#password ⇒ String
Password
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def password @password end |
#plan ⇒ String
Subscription type for the user’s account
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def plan @plan end |
#private_profile ⇒ Boolean
User’s profile is private
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def private_profile @private_profile end |
#projects_limit ⇒ Integer
Number of projects user can create
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def projects_limit @projects_limit end |
#pronouns ⇒ String
User’s pronouns
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def pronouns @pronouns end |
#provisioned_by_group_id ⇒ Integer
The group ID that provisioned the user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def provisioned_by_group_id @provisioned_by_group_id end |
#public_email ⇒ String
User’s public email address
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def public_email @public_email end |
#reset_password ⇒ Boolean
Send user password reset link
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def reset_password @reset_password end |
#scim_identities ⇒ Array
User’s SCIM identities
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def scim_identities @scim_identities end |
#shared_runners_minutes_limit ⇒ Integer
Maximum number of monthly compute minutes for this user.
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def shared_runners_minutes_limit @shared_runners_minutes_limit end |
#sign_in_count ⇒ Integer
Number of times user has signed in
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def sign_in_count @sign_in_count end |
#skype ⇒ String
Skype ID
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def skype @skype end |
#state ⇒ String
User’s account state
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def state @state end |
#theme_id ⇒ Integer
GitLab theme for the user
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def theme_id @theme_id end |
#trial ⇒ Boolean
If the user is using a trial or not
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def trial @trial end |
#twitter ⇒ String
X (formerly Twitter) account
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def twitter @twitter end |
#two_factor_enabled ⇒ Boolean
If the user has 2FA activated on the account
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def two_factor_enabled @two_factor_enabled end |
#username ⇒ String
Username
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def username @username end |
#web_url ⇒ String
Link to the user’s profile
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def web_url @web_url end |
#website_url ⇒ String
Website URL
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def website_url @website_url end |
#work_information ⇒ String
Returns the current value of work_information.
92 93 94 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 92 def work_information @work_information end |
Class Method Details
.current ⇒ Object
Fetches the current user from the GitLab system
762 763 764 765 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 762 def self.current response = client.connection.get('user') Users.new(Oj.load(response.body)) end |
.get(object) ⇒ Object
Locates a specific user in the GitLab system
787 788 789 790 791 792 793 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 787 def self.get(object) if object.is_a? Users Users.new(id: id).find else Users.new(id: object).find end end |
.get!(object) ⇒ Object
Locates a specific user in the GitLab system
815 816 817 818 819 820 821 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 815 def self.get!(object) if object.is_a? Users Users.new(id: id).find! else Users.new(id: object).find! end end |
.list(key: value) ⇒ Array
Lists users in the GitLab system
676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 676 def self.list(**args) args[:active] = nil unless args[:active] args[:admins] = nil unless args[:admins] args[:auditors] = nil unless args[:auditors] args[:blocked] = nil unless args[:blocked] args[:created_at] = nil unless args[:created_at] args[:created_before] = nil unless args[:created_before] args[:exclude_active] = nil unless args[:exclude_active] args[:exclude_external] = nil unless args[:exclude_external] args[:exclude_humans] = nil unless args[:exclude_humans] args[:exclude_internal] = nil unless args[:exclude_internal] args[:external] = nil unless args[:external] args[:extern_uid] = nil unless args[:extern_uid] args[:humans] = nil unless args[:humans] args[:order_by] = nil unless args[:order_by] args[:provider] = nil unless args[:provider] args[:saml_provider_id] = nil unless args[:saml_provider_id] args[:search] = nil unless args[:search] args[:skip_ldap] = nil unless args[:skip_ldap] args[:sort] = nil unless args[:sort] args[:two_factor] = nil unless args[:two_factor] args[:username] = nil unless args[:username] args[:without_project_bots] = nil unless args[:without_project_bots] args[:without_projects] = nil unless args[:without_projects] args[:limit] = 0 unless args[:limit] params = '' params += "active=#{args[:active]}&" unless args[:active].nil? params += "admins=#{args[:admins]}&" unless args[:admins].nil? params += "auditors=#{args[:auditors]}&" unless args[:auditors].nil? params += "blocked=#{args[:blocked]}&" unless args[:blocked].nil? params += "created_at=#{args[:created_at]}&" unless args[:created_at].nil? params += "created_before=#{args[:created_before]}&" unless args[:created_before].nil? params += "exclude_active=#{args[:exclude_active]}&" unless args[:exclude_active].nil? params += "exclude_external=#{args[:exclude_external]}&" unless args[:exclude_external].nil? params += "exclude_humans=#{args[:exclude_humans]}&" unless args[:exclude_humans].nil? params += "exclude_internal=#{args[:exclude_internal]}&" unless args[:exclude_internal].nil? params += "external=#{args[:external]}&" unless args[:external].nil? params += "extern_uid=#{args[:extern_uid]}&" unless args[:extern_uid].nil? params += "humans=#{args[:humans]}&" unless args[:humans].nil? params += "order_by=#{args[:order_by]}&" unless args[:order_by].nil? params += "provider=#{args[:provider]}&" unless args[:provider].nil? params += "saml_provider_id=#{args[:saml_provider_id]}&" unless args[:saml_provider_id].nil? params += "search=#{args[:search]}&" unless args[:search].nil? params += "skip_ldap=#{args[:skip_ldap]}&" unless args[:skip_ldap].nil? params += "sort=#{args[:sort]}&" unless args[:sort].nil? params += "two_factor=#{args[:two_factor]}&" unless args[:two_factor].nil? params += "username=#{args[:username]}&" unless args[:username].nil? params += "without_project_bots=#{args[:without_project_bots]}&" unless args[:without_project_bots].nil? params += "without_projects=#{args[:without_projects]}&" unless args[:without_projects].nil? users = [] page = 1 loop do response = client.connection.get("users?#{params}&page=#{page}&per_page=100") body = Oj.load(response.body) users += body.map { |u| Users.new(u) } break if args[:limit].to_i.positive? && users.count >= args[:limit].to_i break if body.count < 100 page += 1 end return users if args[:limit].to_i.zero? users.first(args[:limit].to_i) end |
Instance Method Details
#activate! ⇒ Boolean
This is inherited from Base#activate!
Reactivates a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def activate!; end |
#approve! ⇒ Boolean
This is inherited from Base#approve!
Approves access to a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def approve!; end |
#ban! ⇒ Boolean
This is inherited from Base#ban!
Bans a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def ban!; end |
#block! ⇒ Boolean
This is inherited from Base#block!
Blocks a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def block!; end |
#deactivate! ⇒ Boolean
This is inherited from Base#deactivate!
Deactivates a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def deactivate!; end |
#delete! ⇒ Boolean
This is inherited from Base#delete!
Deletes a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def delete!; end |
#disable_2fa! ⇒ Boolean
This is inherited from Base#emails
Lists email addresses for a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def disable_2fa!; end |
#events ⇒ Boolean
This is inherited from Base#events
List events for a user
23 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 23 def events; end |
#gpg_keys ⇒ Boolean
This is inherited from Base#gpg_keys
Lists GPG keys for a user
25 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 25 def gpg_keys; end |
#hard_delete! ⇒ Boolean
This is inherited from Base#hard_delete!
Hard deletes a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def hard_delete!; end |
#impersonations ⇒ Boolean
This is inherited from Base#impersonations
List impersonation tokens for a user
25 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 25 def impersonations; end |
#memberships ⇒ Boolean
This is inherited from Base#memberships
List projects and groups that a user is a member of
25 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 25 def memberships; end |
#pats ⇒ Boolean
This is inherited from Base#pats
List personal access tokens for a user
25 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 25 def pats; end |
#reject! ⇒ Boolean
This is inherited from Base#reject!
Rejects access to a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def reject!; end |
#save! ⇒ Object
This is inherited from Base#save!
Creates/updates a user
44 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 44 def save!; end |
#ssh_keys ⇒ Boolean
This is inherited from Base#ssh_keys
Lists SSH keys for a user
25 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 25 def ssh_keys; end |
#tokens ⇒ Boolean
This is inherited from Base#tokens
List tokens (personal access and impersonation) for a user
28 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 28 def tokens; end |
#unban! ⇒ Boolean
This is inherited from Base#unban!
Unbans a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def unban!; end |
#unblock! ⇒ Boolean
This is inherited from Base#unblock!
Unblocks a user
20 |
# File 'lib/support_ops_gitlab/gitlab/users.rb', line 20 def unblock!; end |