## User stored info
By "User" means any logged in person accessing the web application. Browsing the application without logging in is considered "guest activity".
- public fields
- real_name
- created
- username (shown if real_name is empty only)
- profile_id
- group_id
- secret fields
- password
- email
- system fields
- email_authentiated
- email_token
- email_token_expires
- tmp_password
- modified
Users are devided into groups and are given rights depending on what group they belong to.
- registered users
- Create articles (must be accepted by moderator)
- Edit own articles (old article public until edit accepted by moderation)
- Create comment on all articles
- Moderate comments on own articles (change category)
- send messages to other bakery users
- accepted authors
- Create articles (published directly)
- Edit own articles (publised directly)
- moderators
- create articles of the "news" type
- feature existing articles
- publish articles made by registed users
- moderate comments on all articles
- cakecore team
- as moderator
- highlighted comments and system messages
- promote registered users to accepted authors
- admins
- promote to all roles
## Manually login users for testing
With the AccessComponent it is possible to easily login a user manually by placing the following line in beforeFilter() of the controller you are working in:
{{{
$this->Access->lazyLogin('Phally');
}}}
This method works only in debug mode, when no other user is already logged in and when the username really exists.
