-
Notifications
You must be signed in to change notification settings - Fork 94
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
flow-cfg-update.authentication #3845
flow-cfg-update.authentication #3845
Conversation
265891b
to
fbad477
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good as far as I can tell
@@ -15,7 +15,7 @@ | |||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
"""Server for suite runtime API.""" | |||
|
|||
import getpass | |||
import getpass # noqa: F401 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this F401 for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getpass is not used overtly, but causes failures if it's removed. Detailed cause not investigated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What failures occurred? I just tried removing this line and didn't see any problems on running a flow.
@@ -21,7 +21,6 @@ | |||
|
|||
from cylc.flow import LOG | |||
from cylc.flow.parsec.exceptions import UpgradeError | |||
from cylc.flow.network.authorisation import Priv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove the Priv
class (as this PR effectively removes authorisation) and kill the if usr_priv_level < req_priv_level:
check.
|
987a21f
to
d7ba6a4
Compare
@wxtim BTW this will require a sibling PR in cylc-doc |
Refers to Cylc8 Config Proposal agreed at CylcCon Wellington.
Do we want to attach a follow on to carry out more heavy-duty removal of this functionality?