Fixed: Ensure users are not able to update their subscriber number themselves
This commit is contained in:
parent
2775dbcb1f
commit
b424c73762
2 changed files with 8 additions and 1 deletions
|
@ -43,6 +43,13 @@ namespace WebsitePanel.Portal
|
||||||
|
|
||||||
if (PortalUtils.GetHideDemoCheckbox()) rowDemo.Visible = false;
|
if (PortalUtils.GetHideDemoCheckbox()) rowDemo.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (PanelSecurity.LoggedUser.Role == UserRole.User)
|
||||||
|
{
|
||||||
|
txtSubscriberNumber.ReadOnly = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BindUser()
|
private void BindUser()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue