Ask A Question

Notifications

You’re not receiving notifications from this thread.

Password Sharing Roles & Permissions Discussion

this on was confusing to me indeed. i was not able to follow, why we do what we do in each refactoring.
thanks, i will rewatch this

Reply

x2 Until now the most difficult tutorial (I am doing the learning path) and with a lot of errors from Cris, I could finish it but it took me 5 hours to follow the tutorial and at the end, I felt confused too.
Maybe it is a good idea to do this tutorial again ...

Reply

i'm hesitant to do any roles where a shared user is == to the creator of the password(multiple owner). Which is why I like the idea of owner not being a role but an association through the user table ( has_one :owner, class: "User"). Now I can create a 'full_access" role where a user can do and see all of the things the owner can, but can't remove the owner. This way even the owner can't accidentally change their role because it's not in the list.

Reply

This episode is very confusing @Chris because of the way you refactor your code every single minute...

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.