Skip to content

Commit

Permalink
change version 1.0.0 to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed Mar 29, 2021
1 parent 426ec77 commit ad3ba2b
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
```
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
Expand Down
11 changes: 5 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@

#### 🐕 <font color="red">使用前一些约定</font>

- `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)

Expand All @@ -93,11 +92,11 @@
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
```
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
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>

<name>sureness</name>
Expand Down
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](_media/hat-128.svg)

# sureness <small>1.0.0 for jvm</small>
# sureness <small>1.0.1 for jvm</small>

> Focusing on Protection of Restful Api.
Expand Down
2 changes: 1 addition & 1 deletion docs/cn/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](../_media/hat-128.svg)

# sureness <small>1.0.0 for jvm</small>
# sureness <small>1.0.1 for jvm</small>

> 面向`restful api`的高性能认证鉴权框架
Expand Down
4 changes: 2 additions & 2 deletions docs/cn/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
```
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
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
```
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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sureness-core.version>1.0.0</sureness-core.version>
<sureness-core.version>1.0.1</sureness-core.version>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down

0 comments on commit ad3ba2b

Please sign in to comment.