From ad3ba2b0e0e41e4917cd050981796496f364c979 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Mon, 29 Mar 2021 20:49:14 +0800 Subject: [PATCH] change version 1.0.0 to 1.0.1 --- README.md | 4 ++-- README_CN.md | 11 +++++------ core/pom.xml | 2 +- docs/_coverpage.md | 2 +- docs/cn/_coverpage.md | 2 +- docs/cn/quickstart.md | 4 ++-- docs/quickstart.md | 4 ++-- pom.xml | 2 +- 8 files changed, 15 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 300ab6a3..cb20a1d2 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,11 @@ When use maven or gradle build project, add coordinate com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 🐵 Use the Default Configuration to Configure Sureness diff --git a/README_CN.md b/README_CN.md index 34a2484e..9d27dd3b 100644 --- a/README_CN.md +++ b/README_CN.md @@ -78,11 +78,10 @@ #### 🐕 使用前一些约定 -- `sureness`尽量简洁,基于`rbac`,只有(角色-资源)的映射,没有(权限)动作映射,即 用户-角色-资源 +- `sureness`基于`rbac`,即用户-角色-资源:用户所属角色--角色拥有资源(api)--用户拥有资源(api) - 我们将`restful api`请求视作一个资源,资源格式为: `requestUri===httpMethod` - 即请求的路径加上其请求方式(`post,get,put,delete...`)作为一个整体被视作一个资源 - `eg: /api/v2/book===get` `get`方式请求`/api/v2/book`接口数据 -- 角色资源映射: 用户所属角色--角色拥有资源--用户拥有资源(用户就能访问此`api`) + 即请求的路径加上其请求方式(`post,get,put,delete...`)作为一个整体被视作一个资源来赋权配置 + `eg: /api/v2/book===get` `get`方式请求`/api/v2/book`接口数据 资源路径匹配详见 [URI路径匹配](docs/cn/path-match.md) @@ -93,11 +92,11 @@ com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 🐵 使用默认配置来配置sureness diff --git a/core/pom.xml b/core/pom.xml index a42cd1e0..1942abfe 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 jar sureness diff --git a/docs/_coverpage.md b/docs/_coverpage.md index aee86ade..52c4666d 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](_media/hat-128.svg) -# sureness 1.0.0 for jvm +# sureness 1.0.1 for jvm > Focusing on Protection of Restful Api. diff --git a/docs/cn/_coverpage.md b/docs/cn/_coverpage.md index 9938dfa3..6f667781 100644 --- a/docs/cn/_coverpage.md +++ b/docs/cn/_coverpage.md @@ -1,6 +1,6 @@ ![logo](../_media/hat-128.svg) -# sureness 1.0.0 for jvm +# sureness 1.0.1 for jvm > 面向`restful api`的高性能认证鉴权框架 diff --git a/docs/cn/quickstart.md b/docs/cn/quickstart.md index 77db86b1..4d582778 100644 --- a/docs/cn/quickstart.md +++ b/docs/cn/quickstart.md @@ -17,11 +17,11 @@ com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 使用默认配置来配置sureness diff --git a/docs/quickstart.md b/docs/quickstart.md index 3c12606b..022b895c 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -17,11 +17,11 @@ When use maven or gradle build project, add coordinate com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### Use the default configuration to configure sureness diff --git a/pom.xml b/pom.xml index 16dd8d83..f9cef632 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ UTF-8 - 1.0.0 + 1.0.1 1.8 1.8 1.8