Skip to content

Conversation

@bexsoft
Copy link
Collaborator

@bexsoft bexsoft commented Aug 25, 2022

fixes https://github.com/minio/console/issues/2257

What does this do?

Adds a border & min-height to CodeEditor plugin.

Don't allow to create an empty policy

How does it look?

Screen Shot 2022-08-24 at 19 13 03

Screen Shot 2022-08-24 at 19 12 45

Signed-off-by: Benjamin Perez [email protected]

@dvaldivia
Copy link
Collaborator

Can you also add a bootstrap policy with empty statements array?

@bexsoft bexsoft force-pushed the policy-field-issue branch from ce55a13 to 0bdc93c Compare August 25, 2022 03:06
@bexsoft
Copy link
Collaborator Author

bexsoft commented Aug 25, 2022

Can you also add a bootstrap policy with empty statements array?

Done
Screen Shot 2022-08-24 at 22 07 25

@udf2457
Copy link

udf2457 commented Aug 25, 2022

@bexsoft FYI don't forget buckets also have a policy edit option (Manage bucket -> Access policy -> custom)

@dvaldivia
Copy link
Collaborator

test Created Policy can be viewed and deleted on Tests 1 is failing

@bexsoft
Copy link
Collaborator Author

bexsoft commented Aug 25, 2022

@bexsoft FYI don't forget buckets also have a policy edit option (Manage bucket -> Access policy -> custom)

Yes, Style change affects this globally. Will add an empty policy here too. Thank you for the suggestion :)

Screen Shot 2022-08-25 at 10 33 09

@bexsoft bexsoft force-pushed the policy-field-issue branch from b00b7db to d0ea82c Compare August 25, 2022 18:11
@bexsoft
Copy link
Collaborator Author

bexsoft commented Aug 25, 2022

test Created Policy can be viewed and deleted on Tests 1 is failing

Fixed.

Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

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

Tested. Changes look good to me. 👍

A cosmetic Observation:
in the raw policy view, there are 2 border lines around the policy editor
image

@bexsoft bexsoft merged commit f11b9bf into minio:master Aug 26, 2022
@bexsoft bexsoft deleted the policy-field-issue branch August 30, 2022 23:29
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.

EOF on creating new policy in GUI

5 participants