Nub-International-Group / ModelWorld-Bank

Monorepo for ModelWorldBank. Vue + VueX + Bootstrap frontend, Node + Mongo + Express backend.
6 stars 3 forks source link

Account Flags dont seem to work #144

Closed Padanub closed 4 years ago

Padanub commented 4 years ago

I set the Nub Test account to have the Account Type "Fake Account Test", this account doesn't allow anything (salary etc).

On this account I was still able to request wages and on the admin management panel I was able to approve them. I haven't tried property transfer or betting yet as neither are done. Benefits will be tested tonight I guess

Padanub commented 4 years ago

Nub Bank is a system account but now has a property and is getting income from it

Padanub commented 4 years ago

As an admin I was able to give a non-property account a property, even though they can't see the property page they still show in their net worth and in their income.

Leaving issue open as I need to test what happens if I transfer a property from a user to a user (so via the user interface not admin) that can't take properties.

strideynet commented 4 years ago

@Padanub Is an admin being able to force a user to own a property actually a problem? I can prevent this but don't come asking for it down the line :)