Ravada::Auth::User(3)
πΈ NAME πΈ
Ravada::Auth::User β the user management + tools library for Ravada, bestie π it's literally the glow-up kit for everything a user can do.
π οΈ BUILD
Internal OO builder β¨ (yes it's internal, no you don't need to touch it, it's giving backstage crew π)
π messages
List of messages for this user π¬
my @messages = $user->messages();
π unread_messages
List of unread messages for this user β the ones still sitting there unopened, iconic behavior π
my @unread = $user->unread_messages();
π unshown_messages
List of unshown messages for this user β the ones that haven't even popped up on screen yet, lowkey mysterious β¨
my @unshown = $user->unshown_messages();
π¨ send_message
Send a message to this user π«Ά
$user->send_message($subject, $message)
π show_message
Returns a message by id
my $message = $user->show_message($id);
The data comes back as a hash ref, no cap π
β mark_message_read
Marks a message as read π
$user->mark_message_read($id);
Returns nothing. It literally just does the thing and dips, main character energy π
π mark_message_shown
Marks a message as shown
$user->mark_message_shown($id);
Returns nothing either, it's very chill like that π¦
π© mark_message_unread
Marks a message as unread β yes we're un-reading it, we contain multitudes π
$user->mark_message_unread($id);
Returns nothing.
π mark_all_messages_read
Marks all message as read. Every single one. Mass-accomplishment era β
$user->mark_all_messages_read();
Returns nothing.
π allowed_access
Return true if the user has access to clone a virtual machine π₯οΈβ¨
π― allowed_access_group
Return true if the user belongs to a group that can access the base π Also it returns true when there are no group restrictions for that VM β so no rules = free pass, periodt.
π list_requests
List the requests for this user. It returns requests from the last hour by default β° (recent only, we don't do old drama).
Arguments: optionally pass the date to start search for requests.
π§ is_member
Returns whether an user is member of a group π
Arguments: group name or object
And that's the whole vibe, bestie π«Ά this page came to you from perl v5.42.0, dated 2025-09-20, and it lives at Ravada::Auth::User(3) β go forth and manage those users, you absolute icon ππβ
π¦ where this page comes from
- fedora 43: ravada 2.4.1-1.fc43 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms