Skip to content

Commit

Permalink
GH-512 Announcement - LiteCommands Permissions Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi authored Jan 18, 2025
1 parent 646ab6f commit fab63e9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
> important changes affecting code security - [#512](https://github.com/Rollczi/LiteCommands/pull/512)
# 🚨 Announcement - LiteCommands Permissions Update 🚨
Starting with version `3.10.0` (release: **February 1, 2025**), the way permissions are handled is changing:
- Old format (AND behavior):
```java
@Permission("admin")
@Permission("time.set")
```
- **New required format (to keep AND behavior):**
```java
@Permission("admin", "time.set")
```
If you don’t update, **permissions will default to OR behavior** in the new versions.
**Update** your annotations **NOW** to avoid issues when the new version is released!

---

<div align="right">

[![dependency](https://repo.panda-lang.org/api/badge/latest/releases/dev/rollczi/litecommands-core?color=9372f9&name=Version)](https://repo.panda-lang.org/#/releases/dev/rollczi/litecommands)
Expand Down

0 comments on commit fab63e9

Please sign in to comment.