mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	realm owner: Add frontend implementation of owner role.
This commit adds the option of owner role in user role dropdown and also takes care of the restrictions while adding/removing owner status of the user. This commit also handles the places where we dispaly role of the user in UI.
This commit is contained in:
		@@ -60,6 +60,7 @@ exports.build_page = function () {
 | 
			
		||||
        realm_signup_notifications_stream_id: page_params.realm_signup_notifications_stream_id,
 | 
			
		||||
        is_admin: page_params.is_admin,
 | 
			
		||||
        is_guest: page_params.is_guest,
 | 
			
		||||
        is_owner: page_params.is_owner,
 | 
			
		||||
        realm_icon_source: page_params.realm_icon_source,
 | 
			
		||||
        realm_icon_url: page_params.realm_icon_url,
 | 
			
		||||
        realm_logo_source: page_params.realm_logo_source,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user