PecanProject / bety

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)
https://www.betydb.org
BSD 3-Clause "New" or "Revised" License
16 stars 38 forks source link

update database #62

Closed dlebauer closed 10 years ago

dlebauer commented 10 years ago

per pull request #56, need to update database

(@robkooper what updates are required)

dlebauer commented 10 years ago

review the folowing:

select id, login, name from users where page_access_level = 1;
robkooper commented 10 years ago

Every time a new user signs up BETY will send an email to all people that are currently admin. In the case of the VM the only person that is admin and it will send an email to betydb right now [1].

To make sure only people that need to see the email get the email we need to check all users in the database and limit page_access_level = 1 to only those that need admin rights. See comment of David above to see all admin users in the database.

[1] currently all remote machines will also have this user with the password and admin privileges until this is fixed in uissue #63.

dlebauer commented 10 years ago

Okay. Ive set it so that only Scott and I are admins on ebi-forecast.