Megan-Ralph / tumblr-ish

A tumblr-like app made for fun!
0 stars 0 forks source link

Authorisation #3

Open drobny opened 1 year ago

drobny commented 1 year ago

At the minute it looks like there is no restriction (based on being an admin or not)

Can we add some hand rolled authorisation to the app (and tests) to fulfil the following conditions

Remember to think about access at a view / controller level

Megan-Ralph commented 1 year ago

Hey Rob,

I already had some (very small) existing functionality for admin users so I have built on that in these two commits (here and here). I have also left in a tiny spec here.

In these commits I added the following: