For now; entirely disable sharing owner role (#1372)
This commit is contained in:
		
							parent
							
								
									3761a75b28
								
							
						
					
					
						commit
						3e5987abec
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -61,7 +61,7 @@ export default function MemberChangeRoleModal(props: {
 | 
				
			||||||
              className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
 | 
					              className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
 | 
				
			||||||
              <option value="MEMBER">{t("member")}</option>
 | 
					              <option value="MEMBER">{t("member")}</option>
 | 
				
			||||||
              <option value="ADMIN">{t("admin")}</option>
 | 
					              <option value="ADMIN">{t("admin")}</option>
 | 
				
			||||||
              <option value="OWNER">{t("owner")}</option>
 | 
					              {/*<option value="OWNER">{t("owner")}</option> - needs dialog to confirm change of ownership */}
 | 
				
			||||||
            </select>
 | 
					            </select>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -99,7 +99,6 @@ export default function MemberInvitationModal(props: { team: TeamWithMembers | n
 | 
				
			||||||
                  className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
 | 
					                  className="block w-full mt-1 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm">
 | 
				
			||||||
                  <option value="MEMBER">{t("member")}</option>
 | 
					                  <option value="MEMBER">{t("member")}</option>
 | 
				
			||||||
                  <option value="ADMIN">{t("admin")}</option>
 | 
					                  <option value="ADMIN">{t("admin")}</option>
 | 
				
			||||||
                  <option value="OWNER">{t("owner")}</option>
 | 
					 | 
				
			||||||
                </select>
 | 
					                </select>
 | 
				
			||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
              <div className="relative flex items-start">
 | 
					              <div className="relative flex items-start">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue