Unifiedtransform icon indicating copy to clipboard operation
Unifiedtransform copied to clipboard

Can not Edit Admin

Open beneyraheem opened this issue 6 years ago • 2 comments

Can not edit admin accounts from Master, but it can deactivate and activate

beneyraheem avatar Aug 04 '19 04:08 beneyraheem

@beneyraheem your PR is welcome.

JuanVqz avatar Aug 05 '19 03:08 JuanVqz

You can resolve it by adding the proper select query in the respective function. Currently in code it is getting the school id of the current user (which is super-admin), and as super admin has no school id that's why error is coming. You just have to edit that code where it is taking the super admin school id and update it with the query which returns the admin school id and issue will be resolved.

noumank007 avatar Sep 10 '19 19:09 noumank007