UA-eMath / eMath

new eMath system
2 stars 0 forks source link

Enabling reader access #121

Closed bohungi closed 3 years ago

bohungi commented 3 years ago

How do we handle reader access to ebooks? - No authentication required.

xqiu1 commented 3 years ago

We can do it by adding an attribute to store the type of the user, like author and reader. Only author can access the editing mode. Would you like me to finish this access now or move it to version 2.0 ideas?

bohungi commented 3 years ago

We definitely need reader access before version 2. Is it possible to handle reader access via something like 142.244.163.49/reader/? - Accessing an ebook that way would just present the ebook in read-mode to the student. We would never have to fiddle with multiple access attributes. - Would you like to talk this through?

xqiu1 commented 3 years ago

Adding permissions system to control user behaviors.

xqiu1 commented 3 years ago
  1. There is a complete switch in book setting, you can use it to control the developping state for the book.
  2. I created an student account, whose username is student, password is student123. When you log in as a student, you can only see matured books in your home page.