Reputation: 100
How do I use the Log in Authentication of YAF (Yet Another Forum) 1.9.4 in my current project?
The reason why I am asking is that I made yaf forum as my subfolder in my project and I still have 3 other folders other than that named Students, Teacher and Administrator. All I want to achieve is to validate my users using the yaf login having the:
Student role = Student Folder Access and Yaf forum Registered role only
Admin role = Admin Folder Access and yaf forum Admin role only
Teacher role = Teacher Folder Access and yaf forum Moderator only
I hope someone could help me achieve this kind of thing. Any advice and suggestion will be highly sought.
Upvotes: 0
Views: 1633
Reputation: 426
Yet Another Forum.NET uses standard ASP.NET Membership defined in the web.config. In YAF Admin roles, link your Student, Admin and teacher roles. Then go into those roles and set the permissions to match the desired access for those roles.
Upvotes: 1