auth: add resource metrics_read by javeme · Pull Request #1355 · apache/hugegraph

@javeme

Change-Id: Iba110199addbfae220616ed69754dcac82fbc848

@javeme

Change-Id: Iba110199addbfae220616ed69754dcac82fbc848

@codecov

Change-Id: I6011952eae765650d38c9de48237e41dc888d1f6
Change-Id: I728410b9d2c280c8a4ab5ade93d75a5530c625e2
Change-Id: I3f89340a7eed83b368309fc29bc138616cf49bd1

houzhizhen

* here is only to provide pre-control by extract the suffix of
* action {vertex/edge/schema}_{read/write} like vertex_read.
* here is only to provide pre-control by extract the
* ressource_action {vertex/edge/schema}_{read/write},

Choose a reason for hiding this comment

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

resource ?

* action {vertex/edge/schema}_{read/write} like vertex_read.
* here is only to provide pre-control by extract the
* ressource_action {vertex/edge/schema}_{read/write},
* ressource_action like vertex_read.

Choose a reason for hiding this comment

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

ditto

* ressource_action {vertex/edge/schema}_{read/write},
* ressource_action like vertex_read.
*/
String ressource = action.substring(0, offset - 1);

Choose a reason for hiding this comment

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

ditto

@javeme

Change-Id: I6b2c13d4c8a8621d444139a91e215b9f4d227efc

houzhizhen

Linary

zhoney

@zhoney zhoney deleted the auth-add-ress-metrics_read branch

February 8, 2021 12:52