I want to create a new role and give that to some permissions but not for drupal access, it for my website to access some of things in drupalwebsite. Like student/parent/teacher/alumni etc.is this possible?
closed as too broad by kiamlaluno♦ Dec 15 '17 at 9:52
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
It looks like you should give it a try to use the Group module (available as of D7, and has a D8 version also). You'd enable the
gnode submodule, and for each group type you would define the appropriate permissions (view, edit, delete, etc) for the various Content Types.
From the details included in your question, it seems that possibly you'd only need 1 group type, with as many groups for that group type as you like/need. Every group can have users, roles and permissions attached to it (refer to "What are the various roles supported by the Group module?" for more details about that).