forked from External/greenlight
GRN2-128: Fixed issue with manage rooms permissions (#929)
* Fixed issue with manage rooms permissions * Improved server rooms efficiency
This commit is contained in:
committed by
farhatahmad
parent
967130e57c
commit
397b4b742f
@ -71,4 +71,9 @@ module AdminsHelper
|
||||
def edit_disabled
|
||||
@edit_disabled ||= @selected_role.priority <= current_user.highest_priority_role.priority
|
||||
end
|
||||
|
||||
# Get the room status to display in the Server Rooms table
|
||||
def room_is_running(id)
|
||||
@running_room_bbb_ids.include?(id)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user