Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaSS Login #226

Open
FlorianTolk opened this issue May 23, 2022 · 3 comments
Open

CaSS Login #226

FlorianTolk opened this issue May 23, 2022 · 3 comments

Comments

@FlorianTolk
Copy link
Contributor

Is there a way to configure CaSS to have an admin account who can view/modify/delete all frameworks?
Additionally, can CaSS be configured to require sign-in order to add/modify/delete frameworks?

@FunkMonkey
Copy link

I would be interested in this, too!

@vbhayden
Copy link
Contributor

@Lomilar Do you know if there's any traction on adding some sort of requirement that a user be logged-in before creating resources? We're getting slammed atm by fuzz testing that ends up adding a ton of junk to any publicly-accessible CaSS instance and quickly exhausts the machine's storage.

I don't mind helping with this implementation if you're all tapped on resourcing atm.

@Lomilar
Copy link
Member

Lomilar commented Jul 11, 2022

I can think of a simple configuration option that would enable this, but it would play havoc with all of the editor use cases.

https://github.com/cassproject/CASS/blob/master/src/main/server/skyRepo.js#L151

A check there for an environment variable, something like process.env.NO_PUBLIC plus throwing an exception if signature sheet is empty AND environment variable is set would take care of it.

Most of the complexity would be handling that gracefully in the editor.

Feel free to contribute via a PR.

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

No branches or pull requests

4 participants