|
|
@ -22,7 +22,7 @@ public class SysSensitiveServiceImpl implements SensitiveService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean isSensitive() {
|
|
|
|
public boolean isSensitive() {
|
|
|
|
if (TenantHelper.isEnable()) {
|
|
|
|
if (TenantHelper.isEnable()) {
|
|
|
|
return !LoginHelper.isSuperAdmin() || !LoginHelper.isTenantAdmin();
|
|
|
|
return !LoginHelper.isSuperAdmin() && !LoginHelper.isTenantAdmin();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return !LoginHelper.isSuperAdmin();
|
|
|
|
return !LoginHelper.isSuperAdmin();
|
|
|
|
}
|
|
|
|
}
|
|
|
|