greenland-shark / green-shark

Track financial goals
MIT License
0 stars 0 forks source link

Learn Users/ groups behaviour #3

Open murpjack opened 8 months ago

murpjack commented 8 months ago

A ticket to put thoughts and questions against.

let user = get_user("green_shark");
if ( exists(user) ) {
    if has_required_permissions  { 
         // All is good...
    } else {
         // Should privileges be updated?
         //  Or Error? or user removed and recreated?
    } 
} else {
    // create_privileged_user()
}

^^^^ See above a thought on privileged user creation flow ^^^^

Articles/refs:

Create a user per service

https://unix.stackexchange.com/questions/164030/why-do-web-create-separate-user-for-each-software

Software accounts per service

https://serverfault.com/questions/350931/in-what-condition-should-i-create-a-system-user-instead-of-a-normal-user#:~:text=When%20you%20are%20creating%20an,parts%20of%20the%20numeric%20space.

miltonio94 commented 8 months ago

I don't believe we need to concern ourselves with this. Refer to my comment on issue #2