Knack and User Logins

12/17/2013 Posted by Brandon

One of Knack’s most popular features is user logins. You can require your users to log in in order to access your app. Different user roles can be created to define permissions and security.

The best part is you can connect views to the logged-in user, so each user can only see the records they are connected with.

The following are good examples of apps where logged-in users work with connected records:

Job Portal App

Today we added a new example app that further highlights user logins and working with connected records: a Job Portal app.

This app works with two main user roles: employers and applicants. Each role can log in and manage their own records.

The employers can manage jobs they have available. The applicants can manage their employee profile and apply for available jobs. Each record added by a user is available for the other users to view.

We think think this is a great example of Knack user features. It works with multiple user roles and the entire database is populated directly by the users.

This app structure can be used for any scenario where you want two groups of users to interact with each other, like realtors and house-hunters, artist and collectors, or students and internships.

New User Tutorial

To make it easier to work with these features we’ve added a new tutorial:

Showing Records Connected to the Logged-in User

This tutorial exhaustively covers the different scenarios where you can connect your views to a logged-in user:Add views for the user to manage their own recordAdd views for records connected to the logged-in userAssign the logged-in user to a form submission

Add rules to filter records by the logged-in user