- Sep 18, 2015
-
-
Marcelo Schmidt authored
-
- Sep 17, 2015
-
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
- Sep 16, 2015
-
-
Reid Wakida authored
-
Reid Wakida authored
based authorization Leverages alanning:roles package to associate a user to a role. Uses alanning:roles optional "group" parameter to limit the role's scope to either the global level or room level. The global level is applicable to users that can perform administrative functions. The room level is applicable to users that can perform room specific administrative functions (like a moderator). A role can have zero or more permissions. Permissions and their association to roles are defined by this package Authorization checks are based on whether or not the user has a role or permission. The roles, permissions, and their association are statically defined at this time. Eventually, there should be an API to dynamically create a role and associate it to static permission(s). Old 'isAdmin' and '.admin is true' checks have been replaced with corresponding hasPermission authorization checks. Additionally, code that automatically assigned admin privileges are updated to assign 'admin' role instead. channel/direct message/private group code checks authorization to edit properties (e.g. title) and edit/delete messages (regardless of the system level allow edit/delete settings). - user with 'admin' role are authorized to do anything - room creator is assigned 'moderator' role that can edit the room and edit/delete messages - members can only edit/delete their own messages IF system wide settings permit them to. v19 migration will - add 'admin' role to users with admin:true property - add 'moderator' role scoped to room for room creators - add 'user' role to all users. There are known issues unrelated to the changes made - If a user with edit/delete message room permissions logs out then a user without edit/delete message room permissions logs in, then they will see edit/delete icons. The server will deny execution - edit/delete icons are not reactive Thus if the system level allow edit/delete message setting is toggled, the icons will not reflect it. The server will deny execution.
-
- Sep 15, 2015
-
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
George Secrieru authored
Only converting into link the strings starting with a hash (#) that are currently naming a channel (should close #807)
-
Marcelo Schmidt authored
-
- Sep 14, 2015
-
-
Diego Sampaio authored
-
Diego Sampaio authored
-
Diego Sampaio authored
-
Diego Sampaio authored
-
- Sep 13, 2015
-
-
Gabriel Engel authored
-
graywolf336 authored
-
graywolf336 authored
-
- Sep 12, 2015
-
-
Rodrigo Nascimento authored
-
- Sep 11, 2015
-
-
Marcelo Schmidt authored
-
Rodrigo Nascimento authored
-
graywolf336 authored
-
- Sep 09, 2015
-
-
Aaron authored
-
Rodrigo Nascimento authored
-
- Sep 08, 2015
-
-
Rodrigo Nascimento authored
-
- Sep 07, 2015
-
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
- Sep 06, 2015
-
-
Aaron authored
-
Justin Ahn authored
setting the username via the seUsername method and the runAsUser method to ensure it's the correct user
-
Gabriel Engel authored
-
- Sep 05, 2015
-
-
Rodrigo Nascimento authored
-
Justin Ahn authored
using the correct methods to update the username, and setting a reason for the toaster to show up properly
-
Justin Ahn authored
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
Rodrigo Nascimento authored
-
Justin Ahn authored
-
Adriano Caheté authored
-
- Sep 04, 2015
-
-
Adriano Caheté authored
Remove unnecessary space in admin panels + Fix statistic table layout + Fix scrollbar showing just when it's necessary
-
Diego Sampaio authored
-