I am trying to create student management system in which i have been created custom 'registration form', for registering to website then i have created 'list of registered students' menu to show registered students.I want to set permissions such that admin can edit registration form and authenticated user can only see 'registration form',admin can see list of registered students but authenticated user can not see that list.So please guide me to do so.


If you do this using a custom module, you can use hook_permission to defile your permissions, and use in the views. You can also restrict access by role and set the visibility if you use blocks fir the 'list of registered students'.

|improve this answer|||||
  • ok thank you i am done with this settings and its working – user66287 Sep 23 '16 at 12:51
  • can u please tell mi how to add edit link in this to upadate self info – user66287 Sep 23 '16 at 12:52
  • 1
    From views, Create a 'User' view, then add 'Link to edit User' field. Or by custom module something like /user/{uid}/edit. Also check this : drupal8.ovh/en/tutoriels/56/get-current-user-drupal-8 – Net Sep 23 '16 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.