encukou/test-2 — Issue #10: Permissions system
Author: encukou
Created: 2011-11-03 18:48:48+00:00
State: open
Labels: assigned-to Eevee, feature, involved, ON IT, users

**Reported by [Eevee](http://bugs.veekun.com/users/1) on 2009/08/12 23:46:50 +0000 · Migrated from [Redmine issue 71](http://bugs.veekun.com/issues/71)**

---

To be figured out much later.

Still need to have some notion of “mine” vs “global”, though.

Redmine metadata:
Updated on: 2011/04/21 02:55:42 +0000
Start date: 2009/08/12
Relations:
blocks #72

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2011/04/21 02:55:42 +0000**

category_id: None ⇨ 36

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2011/04/21 02:55:15 +0000**

Project: spline-users ⇨ spline

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2010/10/07 02:00:18 +0000**

Target version: 2010 Q3 ⇨ —

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2010/04/13 19:29:30 +0000**

Target version: 19 ⇨ 12

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2010/04/13 19:39:30 +0000**

Target version: 12 ⇨ 2010 Q3

---

**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2010/08/08 12:57:35 +0000**

Got something going, here.

- Permissions are just arbitrary strings. So far I’m prefixing them with plugin names and making them actions, e.g. `forum:create-post`.
- Eventually, plugins will report their own canonical lists of permissions and descriptions thereof. This will be in code, not in the db, for the sake of keeping db upgrades simple.
- Permissions are assigned to roles. Users can have zero or more roles.
- Permissions assigned to `NULL` are available to all users.
- I’d kinda like to have un-permissions, e.g. for banning users.

Status: OPEN ⇨ ON IT