Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fitur User dasar #18

Open
rawaludin opened this issue Oct 27, 2014 · 4 comments
Open

Fitur User dasar #18

rawaludin opened this issue Oct 27, 2014 · 4 comments

Comments

@rawaludin
Copy link
Contributor

Fitur user management akan dibuat dari stracth. Tujuannya agar developer yang lain bisa belajar membangun user management tanpa package.

User management ini akan menggunakan paradigma RBAC. Fitur-fitur dalam user management adalah:

  • register
  • login/logout
  • register dan aktivasi
  • remember
  • forgot password
  • permission (terikat ke user dan group).
  • group

Beberapa fitur yang tidak akan dikerjakan di milestone 1:

  • skorsing/banned user
  • logging (last login, attempt, etc)

ERD untuk user management:

users (menyimpan data user)

  • id
  • username
  • email
  • first_name
  • last_name
  • activated (boolean) (untuk mengecek apakah user sudah diaktifkan)
  • activation_token (untuk aktivasi user ketika register)
  • reminder_token (untuk forget password)
  • remember_token (untuk fitur remember login)
  • last_login
  • created_at
  • updated_at
  • deleted_at

groups (menyimpan data group)

  • id
  • name
  • created_at
  • updated_at
  • deleted_at

permissions (menyimpan data permission/role)

  • id
  • name
  • created_at
  • updated_at

user_group

  • user_id
  • group_id

permissionable (digunakan untuk relasi permission ke group dan user)

  • permission_id
  • permission_type (bisa berisi id group atau id user)
@nicklaros
Copy link

Menurut saya, Confide - Authentication solution for Laravel cocok untuk modul ini. Mudah digunakan dan customizable. Fiturnya pun lengkap, seperti:

  • Konfirmasi akun melalui email.
  • Reset password (email yang berisi link untuk ubah password).
  • Tersedia form bawaan untuk login, signup dan reset password. Kalo mau bikin sendiri pun bisa.
  • Routes bawaan untuk login, signup, reset password, konfirmasi.
  • dll....

@rawaludin rawaludin added this to the Milestone 1 milestone Nov 13, 2014
@rawaludin
Copy link
Contributor Author

mas @nicklaros user management tidak akan menggunakan package. Tujuannya agar developer lain belajar membangun sistem user management.

@rawaludin rawaludin mentioned this issue Nov 14, 2014
@nicklaros
Copy link

owh sip sip ^_^

@ad3n
Copy link

ad3n commented Dec 9, 2014

activation_token (untuk aktivasi user ketika register)
reminder_token (untuk forget password)
================================> jadikan satu confirmation token penggunaan tinggal lihat status user, kalo aktif berarti reset password

remember_token (untuk fitur remember login) => ini bukannya udah otomatis kesimpen di session and cookies ya?

@novan novan removed this from the Milestone 1 milestone Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants