Skip to content

user classes

Sidhin S Thomas edited this page Jul 24, 2017 · 6 revisions

Trymake has divided it's user space into three:

  • Customers
  • Vendors
  • Staff

Each users access the site through different interface and have access to different features.

Privileges

Each types of users will have certain privileges regarding models. It can be represented using a privilege tables.

Privileges and their meanings
Name Description
None Model cannot be accessed
Read Model values can be read
Field Only some field can be edited
Edit Model values can be edited, but cannot be created or deleted
Full Model can be created or deleted

Features

Features are always tied to a model.

That is, a feature will always be an activity that can be performed on a Model.

E.g. Send Email to user.

We will implement the features onto the corresponding Model.

Features will be described by

  • Specifying the Model
  • Specifying the activity
  • Providing the activity details

For example:

order:

  • Email customer: Email using predefined template.... ( more details )

Vendor

Vendors are the store owners who are selling their products using, trymake.

Privileges

Model name permission level
Orders Field
Vendor Edit
Stock Full
DeliveryOptions Full
ReturnPolicy Full

Staff

Staff manage trymake operations that are necessary from business point of view. Their responsibilities and duties are to handle customers and vendors through different functions.

List of responsibilities of Staff

  • Manage order
  • Keep track of delivery.
  • Manage complaints
  • Moderate and manage comments.
  • Manage Products
  • Add/Remove vendors
  • Manage Feedbacks ( order feedbacks also )
  • Email customers

Privileges

Privilege available to staff is variable. The privilege of a specific staff user is defined when the account is created.

There is an Admin Staff account that has the privilege to access all possible features of staff panel.

The privileges provided to a staff determines the amount of controls and data available in the staff panel.

E.g. Complaints section will appear to panel only if they have read permission for it.

Maximum possible privilege to staff is:

Privileges
Clone this wiki locally