Skip to content

Conversation

@Enovotny
Copy link
Collaborator

Add user and API key, load timeseries and location into cwms-database. currently this is a manual process.

still need to
-setup docker python container.
-automate loading of data.

@Enovotny Enovotny requested a review from MikeNeilson August 25, 2025 15:55
Copy link
Contributor

@MikeNeilson MikeNeilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reason, other than the format changes in user.sql.

Can we add some sort of documentation for how to go about adding more data? I'm not very familiar with jupiter notebooks so I woudln't even know where to start.

cwms_sec.add_user_to_group('l2hectest','TS ID Creator','SPK');

cwms_sec.add_cwms_user('l1hectest',NULL,'SPL');
cwms_sec.add_user_to_group(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the formatting here doesn't need to be changed, and this change makes it more difficult to see at a glance what is setup.

@krowvin
Copy link
Collaborator

krowvin commented Sep 10, 2025

I ran into this error and Eric was able to point me to this PR to solve it.

ORA-20048: NO_WRITE_PRIVILEGE: User doesnt have write privileges

I can overwrite the users.sql and re-run the permissions docker until this is resolved

@MikeNeilson
Copy link
Contributor

I ran into this error and Eric was able to point me to this PR to solve it.

ORA-20048: NO_WRITE_PRIVILEGE: User doesnt have write privileges

I can overwrite the users.sql and re-run the permissions docker until this is resolved

NOTE: the permission that is most often missing with this error is TS ID CREATOR on the individual user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants