willhogan11 / Golf_n_HomeSwap

4th Year Project for module "Applied project & Minor Dissertation"
0 stars 0 forks source link

Login page allows access to Admin page (If Admin) #24

Closed willhogan11 closed 8 years ago

willhogan11 commented 8 years ago

We need 3 different types of Access as will be seen from Enum(User):

How can we set this up to route directly to Admin page the user is Admin? Is it done through the Config File? image

willhogan11 commented 8 years ago

I think we have this sorted by using the enums and mongo security like you were saying Andrej.