Generic GRANT/REVOKE generation from ACL's complete.
Moved the owned concept to PgServerObject as it is needed for the generic acl functionality that is also in PgServerObject.
This commit is contained in:
parent
cc0b28e8e0
commit
c2c01cf431
23 changed files with 358 additions and 312 deletions
|
|
@ -511,7 +511,7 @@ void CrudModel::appendNewRow()
|
|||
std::tuple<bool, QString> CrudModel::removeRows(const std::set<IntegerRange<int>> &row_ranges)
|
||||
{
|
||||
if (row_ranges.empty()) return { true, "" };
|
||||
if (row_ranges.rbegin()->end() > m_rowMapping.size()) return { false, "Range error" };
|
||||
if (row_ranges.rbegin()->end() > static_cast<int>(m_rowMapping.size())) return { false, "Range error" };
|
||||
// When removing rows there is no direct mapping anymore between the rows in the grid
|
||||
// and the rows in m_roData
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue