Rapi::Blog::DB::Result::User - User row object
This is the default User Result class/row object for Rapi::Blog. The list_users() template directive returns an array of these objects (in the sub property rows)
list_users()
rows
This is a DBIx::Class::Row.
Auto-increment user id. Read-only.
The unique username used to login to the system. This links with the RapidApp AuthCore user object with the same username and the system automatically keeps these objects in sync.
Friendly display name.
CAS image column ('cas_img'). Contains the sha1 of a file within the SimpleCAS.
'cas_img'
User's E-Mail address
True/false permission flag if the user is an admin or not. Setting this value automatically adds or removes the administrators role in AuthCore user object.
administrators
True/false permission flag which determines whether or not a user is allowed to add new posts.
True/false permission flag which determines whether or not a user is allowed to add comments.
Virtual column can be set with a plaintext value that on insert/update will store the hashed password in the AuthCore user row.
URL which can be used to access the user's image (i.e. avatar) for the active site/scaffold.
image
Util method returns true if the user can post. Will be true if the user is either an admin or an author.
Util method returns true if the user can comment. Will be true if the user is either an admin or has the comment permission.
Multi-relationship to all the Comments this user has created.
Multi-relationship to all the Posts this user is the author of.
Multi-relationship to all the Posts this user has created.
Multi-relationship to all the Posts this user is the last updater of.
Rapi::Blog
http://rapi.io/blog
Henry Van Styn <vanstyn@cpan.org>
This software is copyright (c) 2017 by IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Rapi::Blog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rapi::Blog
CPAN shell
perl -MCPAN -e shell install Rapi::Blog
For more information on module installation, please visit the detailed CPAN module installation guide.