-
Notifications
You must be signed in to change notification settings - Fork 45
Include permissions #132
Comments
@euantorano Shall I also include Parser permissions ( |
Include them for now. I’ll mostly just be changing the way the parser does the parsing rather than anything else.
|
How do we want to handle editing permissions: Everyone with |
That wouldn't be bad. I also think there should be And I'd change |
Naming will be changed later, I mainly want the logic included atm ;) There are some more permissions that aren't mentioned above (eg canUndoVotes), I need to look which permissions exist in 1.8 at some point. |
How do we want to handle parser permissions (@euantorano)? When creating a post it uses the authors permissions, that's clear. But how do we want to handle editing posts? Use the original authors permissions? Or the editors permissions? |
Other permissions from 1.8:
I'll start working on this tomorrow if nobody complains about this ;) |
What does the |
Profilefields (like attachments, moderation etc) is a general heading to show that they lack permissions atm. How you want to name them or whether you implement something on your own (considering that profilefields are dynamic) is up to you. |
Basically the same as in 1.x: |
I've added the ones I can/need to add to the first post. Would like to have some more feedback on the others and the parser ones though ;) |
@JN-Jones @euantorano As of 5.1.11, Laravel introduces an Authorization system based on abilities using a Gate before requests and a policies implementation, IMHO it'd be great to extend the native Authorization system from Laravel, see here |
Yes, we know about this and the plan is to migrate the system to use this. The default implementation in Laravel is slightly lacking, so we'll be expanding upon it significantly. |
We should start to include permissions. A
canViewForum
has been included but there are several others:Moderation permissions should be included in that PR (eg
canSeeDeletedPosts
).The text was updated successfully, but these errors were encountered: